Documentation ¶
Index ¶
- Constants
- type Socket
- func (s *Socket) Accept(flags int) (*Socket, syscall.Errno, error)
- func (s *Socket) Bind(addr netip.AddrPort) (syscall.Errno, error)
- func (s *Socket) BindAddr() (netip.AddrPort, syscall.Errno, error)
- func (s *Socket) Close() syscall.Errno
- func (s *Socket) Connect(addr netip.AddrPort) (syscall.Errno, error)
- func (s *Socket) Errno() unix.Errno
- func (s *Socket) Listen(backlog int) (syscall.Errno, error)
- func (s *Socket) LogValue() slog.Value
- func (s *Socket) PeerAddr() (netip.AddrPort, syscall.Errno, error)
Constants ¶
View Source
const ( StatusPassive = iota StatusConnected StatusConnecting StatusListening StatusClosed )
View Source
const ( InitiatorUndefined = iota InitiatorProcess InitiatorExternal )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.