Test existence of __GNUC__ instead of value.
Test existence of __GNUC__ instead of value.
Add #include directives to support gcc 4.7 changes.
Fix Linux unused argument warning.
Specialize send/recv return type for Linux.

Was 'size_t', changed to 'ssize_t' to avoid signed/unsigned comparison warnings.
Add casts to avoid [s|f]printf() warnings.

Mainly due to use of %u format specifier with formats arguments which are size_t (or promotions to size_t in expressions) which is a typedef of long unsigned int.
Hackery to support this hack of a (back-)port.

The SockLibX was originally ported over from using the old MLB NPSL library under Windows by hacking that library and its dependencies (strfuncs and genfuncs, mainly). These changes were required to support the port of the hacked socket error reporting logic back to Unices (well, Linux in particular).
Remove old, commented-out test code.
Add support for emitting output compatibility with my original code.
Add #define of NPSL_INADDR_NONE under Linux (INADDR_NONE).
Further work to support Boost Filesystem 3.