ot::Ip6::Tcp::Listener::Deinitialize() method
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
Syntax
Error Deinitialize(void); Return value
kErrorNone Successfully deinitialized the TCP listener. kErrorFailed Failed to deinitialize the TCP listener.
![]()
Error Deinitialize(void);