Versions in this module Expand all Collapse all v0 v0.28.2 Nov 14, 2026 v0.28.1 Nov 14, 2026 Changes in this version + func ApplyKeepalive(conn net.Conn, cfg net.KeepAliveConfig) + func ApplyNoDelay(conn net.Conn) + func ResolveAll(ctx context.Context, network, addr string, r resolver.Resolver, ...) ([]string, error) + func WrapKeepaliveListener(ln net.Listener, cfg net.KeepAliveConfig) net.Listener + func WrapNoDelayListener(ln net.Listener) net.Listener + type PipeOption func(*pipeOptions) + func WithReadTimeout(d time.Duration) PipeOption v0.7.5 Aug 14, 2025 v0.0.3 Aug 14, 2025 Changes in this version + func NewReadWriteConn(r io.Reader, w io.Writer, c net.Conn) net.Conn + func ParseInterfaceAddr(ifceName, network string) (ifce string, addr []net.Addr, err error) + func Pipe(ctx context.Context, rw1, rw2 io.ReadWriteCloser) error + func Resolve(ctx context.Context, network, addr string, r resolver.Resolver, ...) (string, error) + type IPRange struct + Max netip.Addr + Min netip.Addr + func (r *IPRange) Contains(addr netip.Addr) bool + func (r *IPRange) Parse(s string) error + type ListenConfig struct + Netns string + func (lc *ListenConfig) Listen(ctx context.Context, network, address string) (net.Listener, error) + func (lc *ListenConfig) ListenPacket(ctx context.Context, network, address string) (net.PacketConn, error) v0.0.2 Mar 11, 2024 v0.0.1 Mar 11, 2024 Changes in this version + func CopyBuffer(dst io.Writer, src io.Reader, bufSize int) error + func IsIPv4(address string) bool + func NewBufferReaderConn(conn net.Conn, br *bufio.Reader) net.Conn + func Transport(rw1, rw2 io.ReadWriter) error + type AddrPortRange string + func (p AddrPortRange) Addrs() (addrs []string) + type PortRange struct + Max int + Min int + func (pr *PortRange) Contains(port int) bool + func (pr *PortRange) Parse(s string) error + type RemoteAddr interface + RemoteAddr func() net.Addr + type SetBuffer interface + SetReadBuffer func(bytes int) error + SetWriteBuffer func(bytes int) error + type SetDSCP interface + SetDSCP func(int) error + type SyscallConn interface + SyscallConn func() (syscall.RawConn, error)