Expand description
Extra types and constants for working with TCP sockets.
Structs§
- TcpSocket
Device - Device type marker for
crate::File
instances that represent TCP sockets.
Constants§
- SIOCATMARK
- Returns true (i.e., value is nonzero) if the inbound data stream is at the urgent mark.
- SIOCINQ
- Returns the amount of queued unread data in the receive buffer.
- SIOCOUTQ
- Returns the amount of unsent data in the socket send queue.