Function new_ip_socket

Source
pub(crate) fn new_ip_socket(
    addr: SocketAddr,
    socket_type: c_int,
) -> Result<c_int>