Function socket_protocol

Source
pub(crate) fn socket_protocol(fd: BorrowedFd<'_>) -> Result<Option<Protocol>>