Function socket2::sys::socket

source ยท
pub(crate) fn socket(family: c_int, ty: c_int, protocol: c_int) -> Result<c_int>