![]() |
Max OS 0.3
|
Defines the Transmission Control Protocol (TCP) structures and classes for handling TCP sockets and payloads. More...
Go to the source code of this file.
Classes | |
| struct | MaxOS::net::TCPHeader |
| The header of a TCP packet. More... | |
| struct | MaxOS::net::TCPPseudoHeader |
| The pseudo header used for TCP checksum calculation. More... | |
| class | MaxOS::net::DataReceivedEvent |
| Event for when data is received on a TCP socket. More... | |
| class | MaxOS::net::ConnectedEvent |
| Event for when a TCP socket is connected. More... | |
| class | MaxOS::net::DisconnectedEvent |
| Event for when a TCP socket is disconnected. More... | |
| class | MaxOS::net::TCPPayloadHandler |
| Handler for TCP payloads. More... | |
| class | MaxOS::net::TCPSocket |
| A TCP socket. Allows for sending and receiving data over TCP at a port. More... | |
| class | MaxOS::net::TransmissionControlProtocolHandler |
| Handles TCP packets and manages TCP sockets. More... | |
Typedefs | |
| typedef uint16_t | MaxOS::net::TransmissionControlProtocolPort |
| TCP port. | |
| typedef struct PACKED MaxOS::net::TCPHeader | MaxOS::net::tcp_header_t |
| Alias for TCPHeader struct. | |
| typedef struct PACKED MaxOS::net::TCPPseudoHeader | MaxOS::net::tcp_pseudo_header_t |
| Alias for TCPPseudoHeader struct. | |
Enumerations | |
| enum class | MaxOS::net::TCPSocketState { CLOSED , LISTEN , SYN_SENT , SYN_RECEIVED , ESTABLISHED , FIN_WAIT1 , FIN_WAIT2 , CLOSING , TIME_WAIT , CLOSE_WAIT , LAST_ACK } |
| The state of a TCP socket. More... | |
| enum class | MaxOS::net::TCPFlag { FIN = 1 , SYN = 2 , RST = 4 , PSH = 8 , ACK = 16 , URG = 32 , ECE = 64 , CWR = 128 , NS = 256 } |
| The flags in a TCP header. More... | |
| enum class | MaxOS::net::TCPPayloadHandlerEvents { CONNECTED , DISCONNECTED , DATA_RECEIVED } |
| Events for the TCPPayloadHandler. More... | |
Defines the Transmission Control Protocol (TCP) structures and classes for handling TCP sockets and payloads.
Definition in file tcp.h.
| typedef uint16_t MaxOS::net::TransmissionControlProtocolPort |
|
strong |
|
strong |
|
strong |