otPlatTcpConnection

#include <openthread/platform/tcp.h>

Represents a TCP connection.

Summary

The OpenThread core owns and manages the otPlatTcpConnection instances. The platform should track the pointers to these instances and pass them when invoking the otPlatTcpHandle* callbacks. The otPlatTcpConnection * can be viewed as a "descriptor" or "handle" to the connection.

The otPlatTcpConnection instance remains valid as long as the connection is active.

Public attributes

mData
Platform implementation specific data.

Public attributes

mData

otPlatTcpPlatformData otPlatTcpConnection::mData

Platform implementation specific data.

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.