Function rustix::backend::net::syscalls::socket

source ยท
pub(crate) fn socket(
    family: AddressFamily,
    type_: SocketType,
    protocol: Option<Protocol>,
) -> Result<OwnedFd>