platform: solaris 10 x86
After compiling demo file netdevices.cpp:
g++ -ldl -lccgnu2 -lpthread -lccext2 -lz -lxml2
-lsocket -lnsl netdevices.cpp -o n
executing the executable results in the following:
terminate called after throwing an instance of
Abort (core dumped)
Working solution (see patch):
For whatever reason, simply sending 0 instead of 255
for the mask (as is done for win32) works.
Log in to post a comment.