dynamic loading of network stack no longer needed
This commit is contained in:
16
tests/socket/simple.cpp
Normal file
16
tests/socket/simple.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
// Comprehensive stress test for socket-like API
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ZeroTierSDK.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
printf("zts_core_version = %s\n", zts_core_version());
|
||||
|
||||
zts_start("./ztsdk"); // starts ZeroTier core, generates id in ./zt
|
||||
|
||||
|
||||
zts_stop();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user