gethostbyname function winsock

Pointer<HOSTENT> gethostbyname(
  1. Pointer<Utf8> name
)

The gethostbyname function retrieves host information corresponding to a host name from a host database.

hostent* gethostbyname(
  const char *name
);

Implementation

Pointer<HOSTENT> gethostbyname(Pointer<Utf8> name) => _gethostbyname(name);