Initialize()
Initializes a TCP listener. Calling this function causes OpenThread to keep track of the TCP listener and store and retrieve TCP data inside this Listener. The application should refrain from directly accessing or modifying the fields in this Listener. If the application needs to reclaim the memory backing this Listener, it should call otTcpListenerDeinitialize(). @sa otTcpListenerInitialize.
GetInstance() const
Obtains the otInstance that was associated with this Listener upon initialization. @sa otTcpListenerGetInstance.
GetContext()
Obtains the context pointer that was associated with this Listener upon initialization. @sa otTcpListenerGetContext.
Listen()
Causes incoming TCP connections that match the specified IP address and port to trigger this TCP listener's callbacks. @sa otTcpListen.
StopListening()
Causes this TCP listener to stop listening for incoming connections. @sa otTcpStopListening.
Deinitialize()
Deinitializes this TCP listener. This means that OpenThread no longer keeps track of this TCP listener and deallocates all resources it has internally allocated for this TCP endpoint. The application can reuse the memory backing the TCP listener as it sees fit. If the TCP listener is currently listening, it stops listening. @sa otTcpListenerDeinitialize.
FromTcbListen()
Converts a reference to a struct tcpcb_listen to a reference to its enclosing Listener.
GetTcbListen()
Obtains a reference to this Listener's struct tcpcb_listen.
GetTcbListen() const
Obtains a const reference to this Listener's struct tcpcb_listen.
IsClosed() const
Checks if this Listener is in the closed state.
GetLocalIp6Address()
GetLocalIp6Address() const
Matches() const