Crate nex_sys

Source
Expand description

Cross-platform system helpers and low-level wrappers used internally by the nex crates.

Structs§

FileDesc
Any file descriptor on unix, only sockets on Windows.

Constants§

AF_INET
AF_INET6
IFF_BROADCAST
IFF_LOOPBACK
IFF_MULTICAST
IFF_POINTOPOINT
IFF_UP

Functions§

close
duration_to_timespec
Convert a Duration into a platform specific timespec.
duration_to_timeval
Convert a Duration into a platform specific timeval.
ipv4_addr_int
recv_from
Receives data from a socket, returning the number of bytes read.
recvfrom
retry
send_to
Sends data to a socket, returning the number of bytes sent.
sendto
sockaddr_to_addr
timespec_to_duration
Convert a platform specific timespec into a Duration.
timeval_to_duration
Convert a platform specific timeval into a Duration.

Type Aliases§

Buf
BufLen
CSocket
CouldFail
In6Addr
InAddr
MutBuf
MutSockLen
SockAddr
SockAddrFamily
SockAddrFamily6
SockAddrIn
SockAddrIn6
SockAddrStorage
SockLen
TvUsecType