schdule connect timer

This commit is contained in:
orignal 2014-09-04 10:20:44 -04:00
parent 617e7bc81d
commit 10d9a4582f
2 changed files with 12 additions and 4 deletions

1
SSU.h
View file

@ -97,6 +97,7 @@ namespace ssu
void ProcessRelayIntro (uint8_t * buf, size_t len);
void Established ();
void Failed ();
void ScheduleConnectTimer ();
void HandleConnectTimer (const boost::system::error_code& ecode);
void ProcessPeerTest (uint8_t * buf, size_t len, const boost::asio::ip::udp::endpoint& senderEndpoint);
void SendPeerTest (uint32_t nonce, uint32_t address, uint16_t port, uint8_t * introKey, bool toAddress = true);