This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/tests/socket/simple.cpp
2017-04-06 19:16:01 -07:00

16 lines
262 B
C++

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