home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


protocol

protocol

Returns the protocol number for the protocol being used on the socket, if known. If the protocol is unknown, as with an AF_UNIX socket, returns zero.