Work in progress: refactoring paths, adding TCP fallback.

This commit is contained in:
Adam Ierymenko 2014-03-20 20:07:35 -07:00
parent 45e823d27c
commit ba3f04deed
8 changed files with 268 additions and 104 deletions

View file

@ -307,7 +307,7 @@ error_no_byte_order_defined;
/**
* Try TCP tunnels if no response to UDP PINGs in this many milliseconds
*/
#define ZT_TCP_FALLBACK_AFTER 5000
#define ZT_PING_UNANSWERED_AFTER 5000
/**
* Stop relaying via peers that have not responded to direct sends in this long