pub unsafe extern "C" fn sock_tl_str2ep(
ep_out: *mut _sock_tl_ep,
str_: *const c_char,
) -> c_int
Expand description
@brief Convert string to common IP-based transport layer endpoint
Takes eg., “[2001:db8::1]:1234” and converts it into the corresponding UDP endpoint structure.
@param[out] ep_out endpoint structure to fill @param[in] str string to read from
@returns 0 on success @returns <0 otherwise