Documentation ¶
Overview ¶
Package udt provides a pure Go implementation of the UDT protocol per http://udt.sourceforge.net/doc/draft-gg-udt-03.txt.
udt does not implement all of the spec. In particular, the following are not implemented:
- Rendezvous mode - DGRAM mode (only streaming is supported)
Index ¶
Constants ¶
View Source
const ( // Socket types // Note - these are reversed from the spec, as the C++ implementation of UDT // seems to have them reversed and we want to stay interoperable STREAM = 1 DGRAM = 0 // not supported! )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener interface { // Accept waits for and returns the next connection to the Listener. Accept() (c _net.Conn, err error) // Close closes the Listener. // Any blocked Accept operations will be unblocked and return errors. Close() (err error) // Addr returns the Listener's network address. Addr() (addr _net.Addr) }
Click to show internal directories.
Click to hide internal directories.