Documentation ¶
Overview ¶
Package udp contains the implementation of the UDP transport protocol. To use it in the networking stack, this package must be added to the project, and activated on the stack by passing udp.ProtocolName (or "udp") as one of the transport protocols when calling stack.New(). Then endpoints can be created by passing udp.ProtocolNumber as the transport protocol number when calling Stack.NewEndpoint().
Index ¶
Constants ¶
View Source
const ( // ProtocolName is the string representation of the udp protocol name. ProtocolName = "udp" // ProtocolNumber is the udp protocol number. ProtocolNumber = header.UDPProtocolNumber )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.