Represents a TCP listener.

A TCP listener is used to listen for and accept incoming TCP connections.

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#

uint8_t
void *
union otTcpListener::@24
struct otTcpListener *

A pointer to the next TCP listener (internal use only)

void *

A pointer to application-specific context.

"Accept ready" callback function

"Accept done" callback function

Public Attribute Documentation#

mSize#

uint8_t otTcpListener::mSize[OT_TCP_LISTENER_TCB_SIZE_BASE+OT_TCP_LISTENER_TCB_NUM_PTR *sizeof(void *)]

Definition at line 644 of file include/openthread/tcp.h

mAlign#

void* otTcpListener::mAlign

Definition at line 645 of file include/openthread/tcp.h

mTcbListen#

union otTcpListener::@24 otTcpListener::mTcbListen

Definition at line 646 of file include/openthread/tcp.h

mNext#

struct otTcpListener* otTcpListener::mNext

A pointer to the next TCP listener (internal use only)


Definition at line 648 of file include/openthread/tcp.h

mContext#

void* otTcpListener::mContext

A pointer to application-specific context.


Definition at line 649 of file include/openthread/tcp.h

mAcceptReadyCallback#

otTcpAcceptReady otTcpListener::mAcceptReadyCallback

"Accept ready" callback function


Definition at line 651 of file include/openthread/tcp.h

mAcceptDoneCallback#

otTcpAcceptDone otTcpListener::mAcceptDoneCallback

"Accept done" callback function


Definition at line 652 of file include/openthread/tcp.h