Versions in this module Expand all Collapse all v0 v0.1.1 Jul 6, 2023 Changes in this version + var ErrClosedListener = errors.New("udp: listener closed") + var ErrListenQueueExceeded = errors.New("udp: listen queue exceeded") + func Listen(network string, laddr *net.UDPAddr) (net.Listener, error) + type Conn struct + func (c *Conn) Close() error + func (c *Conn) LocalAddr() net.Addr + func (c *Conn) Read(p []byte) (int, error) + func (c *Conn) RemoteAddr() net.Addr + func (c *Conn) SetDeadline(t time.Time) error + func (c *Conn) SetReadDeadline(t time.Time) error + func (c *Conn) SetWriteDeadline(t time.Time) error + func (c *Conn) Write(p []byte) (n int, err error) + type ListenConfig struct + AcceptFilter func([]byte) bool + Backlog int + func (lc *ListenConfig) Listen(network string, laddr *net.UDPAddr) (net.Listener, error)