I\'m trying to compile beej\'s guide to network programming examples, but Windows XP doesn\'t have such a function. I\'m using mingw, if it makes any difference.
you can use winsocket with mingw-64 on windows 7
#include #include #include
linkwith
gcc showip.c -lws2_32
Target: x86_64-w64-mingw32 Thread model: win32 gcc version 6.3.0 (GCC)