mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -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
|
@ -110,7 +110,7 @@ virtual void peerStatus(std::string id,
|
|||
|
||||
virtual void peerConnectRequest(std::string id, uint32_t type) = 0;
|
||||
|
||||
virtual void stunStatus(std::string id, struct sockaddr_in addr, uint32_t flags) = 0;
|
||||
virtual void stunStatus(std::string id, struct sockaddr_in raddr, uint32_t type, uint32_t flags) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@ virtual void peerStatus(std::string id,
|
|||
|
||||
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);
|
||||
};
|
||||
|
||||
#endif // PQI_MONITOR_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue