mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
Modified DHT to notify of all possible stun peers, as it doesn't know whether we need to stun or not.
Added a Type parameter, so that the connection Mgr can determine if there is an external port available or not. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@354 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
100a7aea82
commit
685182ff0b
5 changed files with 31 additions and 22 deletions
|
@ -190,7 +190,7 @@ virtual void peerStatus(std::string id,
|
|||
struct sockaddr_in laddr, struct sockaddr_in raddr,
|
||||
uint32_t type, uint32_t flags, uint32_t source);
|
||||
virtual void peerConnectRequest(std::string id, uint32_t type);
|
||||
virtual void stunStatus(std::string id, struct sockaddr_in addr, uint32_t flags);
|
||||
virtual void stunStatus(std::string id, struct sockaddr_in raddr, uint32_t type, uint32_t flags);
|
||||
|
||||
/****************** Connections *******************/
|
||||
bool connectAttempt(std::string id, struct sockaddr_in &addr, uint32_t &type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue