Browse Source

Tested on Windows.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@59 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 10 years ago
parent
commit
3f8db1d408
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      networking.hpp

+ 4
- 2
networking.hpp View File

//// 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



Loading…
Cancel
Save