getprotobyname and getprotobynumber Functions in the API

The getprotobyname and getprotobynumber functions are implemented within the Ws2_32.dll by consulting a local protocols database. They do not result in any name resolution query.

Compatible Name Resolution for TCP/IP in the Windows Sockets 1.1 API

Protocol-Independent Name Resolution

Registration and Name Resolution