1 // Package turbotunnel is facilities for embedding packet-based reliability
2 // protocols inside other protocols.
4 // https://github.com/net4people/bbs/issues/9
9 // QueueSize is the size of send and receive queues in QueuePacketConn and
13 var errClosedPacketConn
= errors
.New("operation on closed connection")
14 var errNotImplemented
= errors
.New("not implemented")
16 // DummyAddr is a placeholder net.Addr, for when a programming interface
17 // requires a net.Addr but there is none relevant. All DummyAddrs compare equal
19 type DummyAddr
struct{}
21 func (addr DummyAddr
) Network() string { return "dummy" }
22 func (addr DummyAddr
) String() string { return "dummy" }