You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
289 B

/**
* Demonstrate that we can compile, link, and run an application
* with libzt and successfully get an error from the socket API.
*/
#include <cstdlib>
#include <ZeroTierSockets.h>
int main()
{
return zts_socket(0,0,0) != -2; // We expect -2 from an uninitialized libzt instance
}