pub unsafe extern "C" fn sock_tcp_get_local(
sock: *mut sock_tcp_t,
ep: *mut sock_tcp_ep_t,
) -> c_int
Expand description
@brief Gets the local end point of a TCP sock object
@pre (sock != NULL) && (ep != NULL)
@param[in] sock A TCP sock object. @param[out] ep The local end point.
@return 0 on success. @return -EADDRNOTAVAIL, when @p sock has no local end point.