Represents a TCP endpoint.
An TCP endpoint acts an endpoint of TCP connection. It can be used to initiate TCP connections, and, once a TCP connection is established, send data to and receive data from the connection peer.
The application should not inspect the fields of this structure directly; it should only interact with it via the TCP API functions whose signatures are provided in this file.
Public Attributes#
A pointer to the next TCP endpoint (internal use only)
A pointer to application-specific context.
"Established" callback function
"Send done" callback function
"Forward progress" callback function
"Receive available" callback function
"Disconnected" callback function
Public Attribute Documentation#
mSize#
uint8_t otTcpEndpoint::mSize[OT_TCP_ENDPOINT_TCB_SIZE_BASE+OT_TCP_ENDPOINT_TCB_NUM_PTR *sizeof(void *)]
mNext#
struct otTcpEndpoint* otTcpEndpoint::mNext
A pointer to the next TCP endpoint (internal use only)
mEstablishedCallback#
otTcpEstablished otTcpEndpoint::mEstablishedCallback
"Established" callback function
mForwardProgressCallback#
otTcpForwardProgress otTcpEndpoint::mForwardProgressCallback
"Forward progress" callback function
mReceiveAvailableCallback#
otTcpReceiveAvailable otTcpEndpoint::mReceiveAvailableCallback
"Receive available" callback function
mDisconnectedCallback#
otTcpDisconnected otTcpEndpoint::mDisconnectedCallback
"Disconnected" callback function