|
|
|
|
|
|
|
|
//// Windows headers... |
|
|
//// Windows headers... |
|
|
|
|
|
|
|
|
#include <winsock2.h> |
|
|
#include <winsock2.h> |
|
|
|
|
|
|
|
|
|
|
|
namespace CodeDweller { |
|
|
|
|
|
|
|
|
typedef int socklen_t; // Posix uses socklen_t so we mimic it. |
|
|
typedef int socklen_t; // Posix uses socklen_t so we mimic it. |
|
|
typedef SOCKET hSocket; // Winx handles Socket is opaque. |
|
|
typedef SOCKET hSocket; // Winx handles Socket is opaque. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////// |
|
|
//////////////////////////////////////////////////////////////////////////////// |
|
|
|
|
|
|
|
|
//// Include Inline methods and functions... |
|
|
//// Include Inline methods and functions... |
|
|
|
|
|
|
|
|
#include "networking.inline.hpp" |
|
|
#include "networking.inline.hpp" |
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} // End of CodeDweller namespace. |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|