snet

package
v0.0.0-...-b61cfef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accept

func Accept(listenerFD int) (connFD int, sockAddr unix.Sockaddr, err error)

Accept accepts a new connection from provided lsitener file descriptor.

func SockAddrToAddr

func SockAddrToAddr(sockAddr unix.Sockaddr) (net.Addr, error)

SockAddrToAddr translates a unix.Sockaddr to appropriate net.Addr. Returns an error when got an unknown network.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL