Communication between endpoints.
socket module deals with network endpoints and buffering.
It provides interfaces for accessing buffers of data, and protocol state machines
for filling and emptying these buffers.
The programming interface implemented here differs greatly from the common Berkeley socket interface. Specifically, in the Berkeley interface the buffering is implicit: the operating system decides on the good size for a buffer and manages it. The interface implemented by this module uses explicit buffering: you decide on the good size for a buffer, allocate it, and let the networking stack use it.
A buffered raw IP packet.
A raw IP socket.
A handle, identifying a socket in a set.
An extensible set of sockets, with stable numeric identifiers.
An item of a socket set.
Immutable socket set iterator.
Mutable socket set iterator.
A Transmission Control Protocol socket.
A buffered UDP packet.
An User Datagram Protocol socket.
A network socket.
The state of a TCP socket, according to RFC 793.
A conversion trait for network sockets.
A raw IP packet ring buffer.
An UDP packet ring buffer.