openthread_sys

Function otTcpStopListening

Source
pub unsafe extern "C" fn otTcpStopListening(
    aListener: *mut otTcpListener,
) -> otError
Expand description

Causes this TCP listener to stop listening for incoming connections.

@param[in] aListener A pointer to the TCP listener structure that should stop listening.

@retval OT_ERROR_NONE Successfully stopped listening on the TCP listener. @retval OT_ERROR_FAILED Failed to stop listening on the TCP listener.