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