Expand description
Cross-platform system helpers and low-level wrappers used internally by the nex crates.
Structs§
- File
Desc - Any file descriptor on unix, only sockets on Windows.
Constants§
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.