VMS Help — TCPIP Services, Programming Interfaces, Socket API Functions, getprotobynumber()
Searches the protocols table until a matching protocol number is
found or until the end of the table is encountered.
Format
#include <netdb.h>
struct protoent *getprotobynumber ( int *proto ) ;