getprotobyname function winsock

Pointer<protoent> getprotobyname(
  1. Pointer<Utf8> name
)

The getprotobyname function retrieves the protocol information corresponding to a protocol name.

protoent *WSAAPI getprotobyname(
  const char *name
);

Implementation

Pointer<protoent> getprotobyname(Pointer<Utf8> name) => _getprotobyname(name);