#[unsafe(no_mangle)]
pub unsafe extern "C" fn getsockname(
sock_fd: c_int,
addr: *mut sockaddr,
addrlen: *mut socklen_t,
) -> c_int
Available on crate feature
net
only.Expand description
Get current address to which the socket sockfd is bound.