riot_sys

Function sock_tcp_queue_get_local

Source
pub unsafe extern "C" fn sock_tcp_queue_get_local(
    queue: *mut sock_tcp_queue_t,
    ep: *mut sock_tcp_ep_t,
) -> c_int
Expand description

@brief Gets the local end point of a TCP sock queue object

@pre (sock != NULL) && (ep != NULL)

@param[in] queue A TCP sock queue object. @param[out] ep The local end point.

@return 0 on success. @return -EADDRNOTAVAIL, when @p queue has no local end point.