Expand description
Provides functionality for handling incoming TCP connections.
Modules§
- connection
- This module contains a minimalist TCP
Connectionimplementation, which only supports passive open scenarios, and some auxiliary logic and data structures. - handler
- Exposes simple TCP over IPv4 listener functionality via the
TcpIPv4Handlerstructure.
Enums§
- Next
Segment Status - Describes whether a particular entity (a
Connectionfor example) has segments to send. - RstConfig
- Represents the configuration of the sequence number and
ACKnumber fields for outgoingRSTsegments.
Constants§
- MAX_
WINDOW_ SIZE - The largest possible window size (requires the window scaling option).
- MSS_
DEFAULT - The default maximum segment size (MSS) value, used when no MSS information is carried over the initial handshake.
Functions§
- seq_
after - Returns true if
acomes afterbin the sequence number space, relative to the maximum possible window size. - seq_
at_ or_ after - Returns true if
acomes after, or is atbin the sequence number space, relative to the maximum possible window size.