Function socket_addr

Source
pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, socklen_t)
Expand description

Converts a Rust SocketAddr into the system representation.