It failed and report:
Network.cpp:17:23: ifaddrs.h: No such file or directory.
This is the code:
I can not find the "ifaddrs.h" file on my RH Linux.Code:#if defined(_WIN32) # include <winsock2.h> #elif defined(__linux) || defined(__APPLE__) || defined(__FreeBSD__) # include <ifaddrs.h> #else # include <sys/ioctl.h> # include <net/if.h> # ifdef __sun # include <sys/sockio.h> # endif #endif
Thanks!

Reply With Quote