detect clock skew

This commit is contained in:
orignal 2016-09-18 18:42:21 -04:00
parent dc6108575c
commit 440516e95f
4 changed files with 22 additions and 1 deletions

View file

@ -27,6 +27,7 @@ namespace transport
const int SSU_CONNECT_TIMEOUT = 5; // 5 seconds
const int SSU_TERMINATION_TIMEOUT = 330; // 5.5 minutes
const int SSU_CLOCK_SKEW = 60; // in seconds
// payload types (4 bits)
const uint8_t PAYLOAD_TYPE_SESSION_REQUEST = 0;