Add to Makefile LIBS = -lnsl -lsocket
Add to event_loop.cpp #include <strings.h>
Add to sock.h /* For Solaris */ #ifndef INADDR_NONE #define INADDR_NONE -1 #endif
Log in to post a comment.