Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxMessageSize = math.MaxUint16
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UDPConn ¶
type UDPConn struct { net.PacketConn // contains filtered or unexported fields }
func UDPClientConn ¶
func UDPClientConn(c net.PacketConn, remoteAddr, targetAddr net.Addr) *UDPConn
func UDPServerConn ¶
func UDPServerConn(c net.PacketConn, remoteAddr net.Addr) *UDPConn
func (*UDPConn) RemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.