pub(crate) fn new_socket(domain: c_int, socket_type: c_int) -> Result<c_int>
Create a new non-blocking socket.