Searched defs:secret (Results 1 - 1 of 1) sorted by relevance

/development/samples/ToyVpn/server/linux/
H A DToyVpnServer.cpp49 // # Create a server on port 8000 with shared secret "test".
84 static int get_tunnel(char *port, char *secret) argument
107 // Receive packets till the secret matches.
118 } while (packet[0] != 0 || strcmp(secret, &packet[1]));
165 printf("Usage: %s <tunN> <port> <secret> options...\n"

Completed in 68 milliseconds