GetAddrInfo function winsock
The GetAddrInfoW function provides protocol-independent translation from a Unicode host name to an address.
INT WSAAPI GetAddrInfoW(
PCWSTR pNodeName,
PCWSTR pServiceName,
const ADDRINFOW *pHints,
PADDRINFOW *ppResult
);
Implementation
int GetAddrInfo(Pointer<Utf16> pNodeName, Pointer<Utf16> pServiceName,
Pointer<addrinfo> pHints, Pointer<Pointer<addrinfo>> ppResult) =>
_GetAddrInfo(pNodeName, pServiceName, pHints, ppResult);