getprotobyname function winsock

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

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

protoent* getprotobyname(
  const char *name
);

Implementation

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