More tweaks to new symmetric NAT buster, and stop using old iterative method since this supersedes it.
This commit is contained in:
parent
eadafd8de7
commit
0c951b6e56
5 changed files with 148 additions and 100 deletions
|
@ -56,6 +56,13 @@ public:
|
|||
*/
|
||||
void clean(uint64_t now);
|
||||
|
||||
/**
|
||||
* If we appear to be behind a symmetric NAT, get predictions for possible external endpoints
|
||||
*
|
||||
* @return Symmetric NAT predictions or empty vector if none
|
||||
*/
|
||||
std::vector<InetAddress> getSymmetricNatPredictions();
|
||||
|
||||
private:
|
||||
struct PhySurfaceKey
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue