Module netstack3_core::tcp
source · Expand description
Methods for dealing with TCP sockets.
Structs§
- Information about a bound socket’s address.
- Information about the number of bytes in a
Buffer
. - Named tuple for holding sizes of buffers for a socket.
- Information about a connected socket’s address.
- An implementation of
Payload
backed by up toN
byte slices. - Possible error for calling
shutdown
on a not-yet connected socket. - Socket address includes the ip address and the port number.
- TCP socket options.
- A TCP Socket ID.
- Information about an unbound socket.
Enums§
- Possible errors for accept operation.
- Possible errors when connecting a socket.
- Possible errors when connecting a socket.
- Errors surfaced to the user.
- Errors for the listen operation.
- Possible errors when retrieving the original destination of a socket.
- Error returned when failing to set the bound device for a socket.
- Error returned when attempting to set the ReuseAddress option.
- Information about a socket.
Constants§
- Default lifetime for a orphaned connection in FIN_WAIT2.
Traits§
- Common super trait for both sending and receiving buffer.
- A conversion trait that converts the object that Bindings give us into a pair of receive and send buffers.
- A notifier used to tell Bindings about new pending connections for a single socket.
- A TCP payload that operates around
u32
instead ofusize
. - A TCP payload that only allows for getting the length of the payload.
- A buffer supporting TCP receiving operations.
- A buffer supporting TCP sending operations.
- Bindings types for TCP.