gethostbyaddr function winsock

Pointer<hostent> gethostbyaddr(
  1. Pointer<Utf8> addr,
  2. int len,
  3. int type
)

The gethostbyaddr function retrieves the host information corresponding to a network address.

hostent *WSAAPI gethostbyaddr(
   const char *addr,
   int        len,
   int        type
);

Implementation

Pointer<hostent> gethostbyaddr(Pointer<Utf8> addr, int len, int type) =>
    _gethostbyaddr(addr, len, type);