protocol information corresponding to a protocol name:
getprotobyname
Winsock: how to retrieve the protocol information corresponding to a protocol name