|
|
|
|
@ -408,19 +408,6 @@ int _tmain(int argc, _TCHAR* argv[])
|
|
|
|
|
int main(int argc,char **argv) |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|
///* For testing windows tap
|
|
|
|
|
try { |
|
|
|
|
RuntimeEnvironment renv; |
|
|
|
|
renv.homePath = "C:\\ProgramData\\ZeroTier\\One"; |
|
|
|
|
EthernetTap tap(&renv,"test12345",MAC(0x32),2800,NULL,NULL); |
|
|
|
|
Thread::sleep(100000000); |
|
|
|
|
} catch (std::exception &exc) { |
|
|
|
|
std::cout << exc.what() << std::endl; |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
//*/
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
int r = 0; |
|
|
|
|
|
|
|
|
|
_initLibCrypto(); |
|
|
|
|
@ -436,5 +423,4 @@ int main(int argc,char **argv)
|
|
|
|
|
std::cout << std::endl << "SOMETHING FAILED!" << std::endl; |
|
|
|
|
|
|
|
|
|
return r; |
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|
|