package net

Import Path
	github.com/pion/dtls/v3/pkg/net (on go.dev)

Dependency Relation
	imports 2 packages, and imported by 2 packages

Involved Source Files Package net defines packet-oriented primitives that are compatible with net in the standard library.
Package-Level Type Names (only one)
/* sort by: | */
A PacketListener is the same as net.Listener but returns a net.PacketConn on Accept() rather than a net.Conn. Multiple goroutines may invoke methods on a PacketListener simultaneously. Accept waits for and returns the next connection to the listener. Addr returns the listener's network address. Close closes the listener. Any blocked Accept operations will be unblocked and return errors. PacketListener : github.com/prometheus/common/expfmt.Closer PacketListener : io.Closer func PacketListenerFromListener(l net.Listener) PacketListener func github.com/pion/dtls/v3/internal/net/udp.Listen(network string, laddr *net.UDPAddr) (PacketListener, error) func github.com/pion/dtls/v3/internal/net/udp.(*ListenConfig).Listen(network string, laddr *net.UDPAddr) (PacketListener, error) func github.com/pion/dtls/v3.NewListener(inner PacketListener, config *dtls.Config) (net.Listener, error)
Package-Level Functions (total 2)
PacketConnFromConn converts a net.Conn into a net.PacketConn.
PacketListenerFromListener converts a net.Listener into a dtlsnet.PacketListener.