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