otTcpListener

#include <tcp.h>

This structure represents a TCP listener.

Summary

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

mAcceptDoneCallback
"Accept done" callback function
mAcceptReadyCallback
"Accept ready" callback function
mAlign
void *
mContext
void *
A pointer to application-specific context.
mNext
struct otTcpListener *
A pointer to the next TCP listener (internal use only)
mSize[16+3 *sizeof(void *)]
uint8_t
mTcbListen
union otTcpListener::@28

Public attributes

mAcceptDoneCallback

otTcpAcceptDone otTcpListener::mAcceptDoneCallback

"Accept done" callback function

mAcceptReadyCallback

otTcpAcceptReady otTcpListener::mAcceptReadyCallback

"Accept ready" callback function

mAlign

void * otTcpListener::mAlign

mContext

void * otTcpListener::mContext

A pointer to application-specific context.

mNext

struct otTcpListener * otTcpListener::mNext

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

mSize

uint8_t otTcpListener::mSize[16+3 *sizeof(void *)]

mTcbListen

union otTcpListener::@28 otTcpListener::mTcbListen

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.