Versions in this module
v2
Jan 5, 2025
Jan 4, 2025
Changes in this version
+
func GetTCPSockAddr(proto, addr string) (sa unix.Sockaddr, family int, tcpAddr *net.TCPAddr, ipv6only bool, err error)
—
darwin/amd64, linux/amd64
+
func GetUDPSockAddr(proto, addr string) (sa unix.Sockaddr, family int, udpAddr *net.UDPAddr, ipv6only bool, err error)
—
darwin/amd64, linux/amd64
+
func GetUnixSockAddr(proto, addr string) (sa unix.Sockaddr, family int, unixAddr *net.UnixAddr, err error)
—
darwin/amd64, linux/amd64
+
func SetIPv4MulticastMembership(fd int, mcast net.IP, ifIndex int) error
—
darwin/amd64, linux/amd64
+
func SetIPv6MulticastMembership(fd int, mcast net.IP, ifIndex int) error
—
darwin/amd64, linux/amd64
+
func SetMulticastMembership(proto string, udpAddr *net.UDPAddr) func(int, int) error
—
darwin/amd64, linux/amd64
+
func TCPSocket(proto, addr string, passive bool, sockOptInts []Option[int], ...) (int, net.Addr, error)
—
darwin/amd64, linux/amd64
+
func UDPSocket(proto, addr string, connect bool, sockOptInts []Option[int], ...) (int, net.Addr, error)
—
darwin/amd64, linux/amd64
+
func UnixSocket(proto, addr string, passive bool, sockOptInts []Option[int], ...) (int, net.Addr, error)
—
darwin/amd64, linux/amd64