git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@18 d34b734f-a00e-4b39-a726-e4eeb87269abwx
| @@ -36,6 +36,10 @@ | |||
| using namespace std; | |||
| #include <cstdlib> | |||
| #include <cstdio> | |||
| #include <cerrno> | |||
| //// Platform specific includes... | |||
| #if defined(WIN32) || defined(WIN64) | |||
| @@ -57,9 +61,6 @@ typedef SOCKET hSocket; | |||
| #include <arpa/inet.h> | |||
| #include <unistd.h> | |||
| #include <fcntl.h> | |||
| #include <cstdlib> | |||
| #include <cstdio> | |||
| #include <cerrno> | |||
| typedef int hSocket; // *nix uses int to handle a Socket. | |||
| const hSocket INVALID_SOCKET = -1; // -1 is the invalid Socket. | |||