Make Service communicate via empty-line-delimited Dictionary objects instead of the old size prefix way.

This commit is contained in:
Adam Ierymenko 2014-05-08 21:27:59 +00:00
parent 98f0418fb9
commit 99c5fae9da
4 changed files with 64 additions and 79 deletions

View file

@ -366,6 +366,14 @@ error_no_byte_order_defined;
*/
#define ZT_ANTIRECURSION_HISTORY_SIZE 16
/**
* TTL for certificates of membership on private networks
*
* This is the max delta for the timestamp field of a COM, so it's a window
* plus or minus the certificate's timestamp. In milliseconds.
*/
#define ZT_NETWORK_CERTIFICATE_TTL_WINDOW (ZT_NETWORK_AUTOCONF_DELAY * 4)
/**
* How often to broadcast beacons over physical local LANs
*/