pub unsafe extern "C" fn gnrc_tcp_get_local(
    tcb: *mut gnrc_tcp_tcb_t,
    ep: *mut gnrc_tcp_ep_t
) -> c_int
Expand description

@brief Get the local end point of a connected TCB

@pre tcb must not be NULL @pre ep must not be NULL

@param[in] tcb TCB holding the connection information. @param[out] ep The local end point.

@return 0 on success. @return -EADDRNOTAVAIL, when @p tcb in not in a connected state.