|
@@ -87,6 +87,19 @@ foreign ws2_32 {
|
|
res: ^^ADDRINFOA,
|
|
res: ^^ADDRINFOA,
|
|
) -> c_int ---
|
|
) -> c_int ---
|
|
freeaddrinfo :: proc(res: ^ADDRINFOA) ---
|
|
freeaddrinfo :: proc(res: ^ADDRINFOA) ---
|
|
|
|
+ FreeAddrInfoExW :: proc(pAddrInfoEx: PADDRINFOEXW) ---
|
|
|
|
+ GetAddrInfoExW :: proc(
|
|
|
|
+ pName: PCWSTR,
|
|
|
|
+ pServiceName: PCWSTR,
|
|
|
|
+ dwNameSpace: DWORD,
|
|
|
|
+ lpNspId: LPGUID,
|
|
|
|
+ hints: ^ADDRINFOEXW,
|
|
|
|
+ ppResult: ^PADDRINFOEXW,
|
|
|
|
+ timeout: ^timeval,
|
|
|
|
+ lpOverlapped: LPOVERLAPPED,
|
|
|
|
+ lpCompletionRoutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE,
|
|
|
|
+ lpHandle: LPHANDLE) -> INT ---
|
|
|
|
+
|
|
select :: proc(
|
|
select :: proc(
|
|
nfds: c_int,
|
|
nfds: c_int,
|
|
readfds: ^fd_set,
|
|
readfds: ^fd_set,
|