Versions in this module
v1
Dec 11, 2024
Changes in this version
+
func AddrPortToSockaddrWithAddressFamily(addrPort netip.AddrPort, is4 bool) (name *byte, namelen uint32)
—
darwin/amd64, linux/amd64
type SocketInfo
Oct 19, 2024
Changes in this version
type ListenConfig
—
linux/amd64
type ListenerSocketOptions
Jan 28, 2024
Changes in this version
Mar 29, 2023
Changes in this version
+
func AddrPortToSockaddr(addrPort netip.AddrPort) (name *byte, namelen uint32)
—
darwin/amd64, windows/amd64
+
func SockaddrInet4ToAddrPort(sa *unix.RawSockaddrInet4) netip.AddrPort
—
darwin/amd64, linux/amd64
+
func SockaddrInet6ToAddrPort(sa *unix.RawSockaddrInet6) netip.AddrPort
—
darwin/amd64, linux/amd64
+
func SockaddrToAddrPort(name *byte, namelen uint32) (netip.AddrPort, error)
—
darwin/amd64, windows/amd64
Feb 17, 2023
Oct 26, 2022
Changes in this version
Sep 12, 2022
Aug 9, 2022
Changes in this version
Jul 14, 2022
Changes in this version
May 28, 2022
May 25, 2022
May 1, 2022
Apr 26, 2022
Changes in this version
Apr 11, 2022
Changes in this version
Apr 8, 2022
Changes in this version
+
var ErrControlMessageTruncated = errors.New("the control message is larger than the supplied buffer")
—
darwin/amd64, linux/amd64
+
var ErrMessageTruncated = errors.New("the packet is larger than the supplied buffer")
—
darwin/amd64, linux/amd64
+
func GetOobForCache(clientOob []byte, logger *zap.Logger) ([]byte, error)
—
darwin/amd64, js/wasm, windows/amd64