pub unsafe extern "C" fn sock_tcp_get_async_ctx(
sock: *mut sock_tcp_t,
) -> *mut sock_async_ctx_t
Expand description
@brief Gets the asynchronous event context from sock object
@pre (sock != NULL)
@note Only available with @ref SOCK_HAS_ASYNC and @ref SOCK_HAS_ASYNC_CTX defined.
@see @ref SOCK_HAS_ASYNC_CTX
@param[in] sock A TCP sock object.
@return The asynchronous event context