mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -04:00
added keep-alive packets to distant chat. Improved the tunnel management logic.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ea53e41c9c
commit
b7e94fce99
4 changed files with 157 additions and 75 deletions
|
@ -68,7 +68,8 @@ private:
|
|||
public:
|
||||
DistantChatPeerInfo() {}
|
||||
|
||||
time_t last_contact ; // used to send keep alive packets
|
||||
time_t last_contact ; // used to keep track of working connexion
|
||||
time_t last_keep_alive_sent ; // last time we sent a keep alive packet.
|
||||
|
||||
unsigned char aes_key[DISTANT_CHAT_AES_KEY_SIZE] ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue