otTcpListener Struct Reference
This structure represents a TCP listener.
#include <
include/openthread/tcp.h
>
Public Attributes |
|
| union { | |
|
uint8_t
mSize
[
OT_TCP_LISTENER_TCB_SIZE_BASE
+OT_TCP_LISTENER_TCB_NUM_PTR
*sizeof(void *)] |
|
| void * mAlign | |
| } | mTcbListen |
| struct otTcpListener * | mNext |
|
A pointer to the next TCP listener (internal use only)
|
|
| void * | mContext |
|
A pointer to application-specific context.
|
|
| otTcpAcceptReady | mAcceptReadyCallback |
|
"Accept ready" callback function
|
|
| otTcpAcceptDone | mAcceptDoneCallback |
|
"Accept done" callback function
|
|
This structure 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.
The documentation for this struct was generated from the following file:
-
include/openthread/
tcp.h