pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, socklen_t)
Expand description
Converts a Rust SocketAddr
into the system representation.
pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, socklen_t)
Converts a Rust SocketAddr
into the system representation.