Is there any way to use getaddrinfo() and freeaddrinfo() and still be the program compatible with le
- by Sam C.
Hi, in the Winsock2 library getaddrinfo() and freeaddrinfo() was only added in Windows XP and on. I know how to replace them in legacy systems, but a conditional use depending on the Windows version won't help.
The application won't start in 9x with a message saying that it was linked to a missing export in WS2_32.dll.
I'm using MinGW to compile and link the code and would like to keep using it. Maybe writing those functions by myself?
Thank you very much for everything.