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