updated picoTCP to 1.4.0, lowered build optimization levels to -O2, improved selftest

This commit is contained in:
Joseph Henry
2017-06-05 14:26:06 -07:00
parent 47a80e8954
commit 19839eeac9
367 changed files with 107850 additions and 3813 deletions

View File

@@ -179,7 +179,12 @@ namespace ZeroTier {
Mutex _multicastGroups_m;
Mutex _ips_m, _tcpconns_m, _rx_buf_m, _close_m;
/*
* Timestamp of last run of housekeeping
* SEE: ZT_HOUSEKEEPING_INTERVAL in ZeroTierSDK.h
*/
std::time_t last_housekeeping_ts;
/****************************************************************************/
/* Guarded RX Frame Buffer for picoTCP */
/****************************************************************************/
@@ -228,11 +233,10 @@ namespace ZeroTier {
*/
void Close(Connection *conn);
/*
* Disposes of previously-closed Connections
*/
void Housekeeping();
/*
* Return the address that the socket is bound to