otTcpEndpoint Struct Reference

This structure represents a TCP endpoint.

#include <include/openthread/tcp.h>

Public Attributes

struct otTcpEndpointmNext
 A pointer to the next TCP endpoint (internal use only)
 
otInstancemInstance
 A pointer to the OpenThread instance associated with this TCP endpoint.
 
void * mContext
 A pointer to application-specific context.
 
otTcpEstablished mEstablishedCallback
 "Established" callback function
 
otTcpSendDone mSendDoneCallback
 "Send done" callback function
 
otTcpSendReady mSendReadyCallback
 "Send ready" callback function
 
otTcpReceiveAvailable mReceiveAvailableCallback
 "Receive available" callback function
 
otTcpDisconnected mDisconnectedCallback
 "Disconnected" callback function
 
uint32_t mTimers [4]

This structure 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.


The documentation for this struct was generated from the following file:
  • include/openthread/tcp.h