the attached program results in a run-time error
with MinGW 3.2.0 rc3 (and also with earlier versions):
Did not find the procedure entry point
"freeaddrinfo" in DLL "WS2_32.DLL"
(In German: Der Prozedureinsprungspunkt "freeaddrinfo"
wurde in der DLL "WS2_32.DLL" nicht gefunden.)
This is on Windows 2000 Professional SP4, compilation
g++ -o free free.cpp -lws2_32
Am I missing something?