mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-07 05:21:42 -07:00
ZeroTierOne for Windows binary project, builds and runs and mostly works but still some issues with tap.
This commit is contained in:
parent
9f16707b0b
commit
487eb17ec0
25 changed files with 832 additions and 59 deletions
|
@ -35,6 +35,10 @@
|
|||
#include "InetAddress.hpp"
|
||||
#include "Mutex.hpp"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#include <WinSock2.h>
|
||||
#endif
|
||||
|
||||
namespace ZeroTier {
|
||||
|
||||
/**
|
||||
|
@ -100,7 +104,11 @@ private:
|
|||
void (*_packetHandler)(UdpSocket *,void *,const InetAddress &,const void *,unsigned int);
|
||||
void *_arg;
|
||||
int _localPort;
|
||||
#ifdef __WINDOWS__
|
||||
volatile SOCKET _sock;
|
||||
#else
|
||||
volatile int _sock;
|
||||
#endif
|
||||
bool _v6;
|
||||
Mutex _sendLock;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue