Hi,

is there a policy for when to link directly against Windows DLLs (like
-lws2_32) and when to use GetModuleHandle (like getaddrinfo.c does)?

I'm preparing code I wrote for CLISP in order to contribute it back to
gnulib. In particular, that's code to implement getifaddrs and
freeifaddrs. Those can be implemented using WSAIoctl, which is in
ws2_32.dll.

Best,
Daniel

Reply via email to