Google is committed to advancing racial equity for Black communities. See how.

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
mContext
void *
A pointer to application-specific context.
mInstance
A pointer to the OpenThread instance associated with this TCP listener.
mNext
struct otTcpListener *
A pointer to the next TCP listener (internal use only)

Public attributes

mAcceptDoneCallback

otTcpAcceptDone otTcpListener::mAcceptDoneCallback

"Accept done" callback function

mAcceptReadyCallback

otTcpAcceptReady otTcpListener::mAcceptReadyCallback

"Accept ready" callback function

mContext

void * otTcpListener::mContext

A pointer to application-specific context.

mInstance

otInstance * otTcpListener::mInstance

A pointer to the OpenThread instance associated with this TCP listener.

mNext

struct otTcpListener * otTcpListener::mNext

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