Documentation ¶
Overview ¶
Package udp implements helper structures for working with UDP.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener is a struct that implements net.Listener interface for working with UDP. This is achieved by maintaining an internal "nat-like" table with destinations.
func Listen ¶
Listen creates a new *Listener and is supposed to be a function similar to net.Listen, but for UDP only.
Click to show internal directories.
Click to hide internal directories.