Function arceos_posix_api::sys_getpeername
source · pub unsafe fn sys_getpeername(
sock_fd: c_int,
addr: *mut sockaddr,
addrlen: *mut socklen_t
) -> c_int
Available on crate feature
net
only.Expand description
Get peer address to which the socket sockfd is connected.