Versions in this module Expand all Collapse all v0 v0.0.1 Jul 8, 2023 Changes in this version + type RawConnControl func(func(uintptr)) error + type Socket struct + func NewSocket(domain, typ, proto int, name string) (*Socket, error) + func (s *Socket) Close() (err error) + func (s *Socket) Control() (RawConnControl, error) + func (s *Socket) Recvfrom(b []byte, flags int) (n int, from syscall.Sockaddr, err error) + func (s *Socket) Recvmsg(p, oob []byte, flags int) (n, oobn, recvflags int, from syscall.Sockaddr, err error) + func (s *Socket) Sendmsg(p, oob []byte, to syscall.Sockaddr, flags int) (n int, err error) + func (s *Socket) Sendto(b []byte, flags int, to syscall.Sockaddr) (err error) + func (s *Socket) SetReadDeadline(d time.Duration) error