Add port and control port command line options to daemon and command line client, add new supernode keys to Defaults.

This commit is contained in:
Adam Ierymenko 2013-09-17 14:47:48 -04:00
parent de5cc82b5b
commit 300588c5e8
8 changed files with 78 additions and 47 deletions

View file

@ -131,12 +131,12 @@ error_no_ZT_ARCH_defined;
/**
* Default local UDP port
*/
#define ZT_DEFAULT_UDP_PORT 8993
#define ZT_DEFAULT_UDP_PORT 9993
/**
* Local control port, also used for multiple invocation check
*/
#define ZT_CONTROL_UDP_PORT 39393
#define ZT_DEFAULT_CONTROL_UDP_PORT 39393
/**
* Default payload MTU for UDP packets