Ver código fonte

Tested on Windows.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@59 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 anos atrás
pai
commit
3f8db1d408
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4
    2
      networking.hpp

+ 4
- 2
networking.hpp Ver arquivo

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



Carregando…
Cancelar
Salvar