Module socket2
Low-level network socket programming beyond std::net.
See crate ::socket2.
Structs
- Domain Specification of the communication domain for a socket.
-
MaybeUninitSlice
A version of
IoSliceMutthat allows the buffer to be uninitialised. -
MsgHdr
Configuration of a
sendmsg(2)system call. -
MsgHdrMut
Configuration of a
recvmsg(2)system call. -
Protocol
Protocol specification used for creating sockets via
Socket::new. - RecvFlags Flags for incoming messages.
- TcpKeepalive Configures a socket's TCP keepalive parameters.
- Type Specification of communication semantics on a socket.