getservbyport function winsock
The getservbyport function retrieves service information corresponding to a port and protocol.
servent *WSAAPI getservbyport(
int port,
const char *proto
);
Implementation
Pointer<servent> getservbyport(int port, Pointer<Utf8> proto) =>
_getservbyport(port, proto);