diff options
Diffstat (limited to 'node/Switch.hpp')
-rw-r--r-- | node/Switch.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp index 6b3b8e6e..e415a2c9 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -130,6 +130,16 @@ public: bool sendHELLO(const SharedPtr<Peer> &dest,Demarc::Port localPort,const InetAddress &remoteAddr); /** + * Send a PROBE immediately to the indicated address + * + * @param localPort Originating local port or ANY_PORT to pick + * @param remoteAddr IP address to send to + * @param dest Destination peer + * @return True if send appears successful + */ + bool sendPROBE(const SharedPtr<Peer> &dest,Demarc::Port localPort,const InetAddress &remoteAddr); + + /** * Send RENDEZVOUS to two peers to permit them to directly connect * * This only works if both peers are known, with known working direct |