pub unsafe extern "C" fn gnrc_tcp_get_remote(
tcb: *mut gnrc_tcp_tcb_t,
ep: *mut gnrc_tcp_ep_t,
) -> c_int
Expand description
@brief Get the remote 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 remote end point.
@return 0 on success. @return -ENOTCONN, when @p tcb in not in a connected state.