gethostname function winsock

int gethostname(
  1. Pointer<Utf8> name,
  2. int namelen
)

The gethostname function retrieves the standard host name for the local computer.

int WSAAPI gethostname(
  char *name,
  int  namelen
);

Implementation

int gethostname(Pointer<Utf8> name, int namelen) => _gethostname(name, namelen);