Versions in this module Expand all Collapse all v3 v3.0.0 Nov 30, 2026 Changes in this version + type ConnectionFactory interface + CreateIPv4Conn func(ifaces []net.Interface) (PacketConn, error) + CreateIPv6Conn func(ifaces []net.Interface) (PacketConn, error) + type InterfaceProvider interface + MulticastInterfaces func() []net.Interface + type PacketConn interface + Close func() error + JoinGroup func(ifi *net.Interface, group net.Addr) error + LeaveGroup func(ifi *net.Interface, group net.Addr) error + ReadFrom func(b []byte) (n int, ifIndex int, src net.Addr, err error) + SetMulticastHopLimit func(hopLimit int) error + SetMulticastInterface func(ifi *net.Interface) error + SetMulticastTTL func(ttl int) error + WriteTo func(b []byte, ifIndex int, dst net.Addr) (n int, err error)