GetAddrInfo function winsock
The GetAddrInfoW function provides protocol-independent translation from a Unicode host name to an address.
INT 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);