getservbyport()

Description

Get service information corresponding to a port and protocol.

#include <winsock.h>

struct servent FAR * PASCAL FAR getservbyport ( int port, const char FAR * proto);