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.
Copyright © 2001 O'Reilly & Associates. All rights reserved.