以ResolverService的sendQuery测试
通过该值可以得知经过了几个结点。
感谢wangzhanyu同学的建议。
有时间测试一下。
——————————————————————————————————————————————————————————————————
结果:待续。。。
The current technique used by JXSE to establish connection with peers located behind NATs is equivalent to Traversal Using Relay NAT (TURN).
A relay with a public address accepts and forward traffic from and to peers located behind NATs with private IP addresses. It can be used for both TCP and UDP traffic.
The benefit of this technique is that it allows communication from any peer to any peer on the Internet, regardless of the presence of any
(traversable) NATs.
The drawback is that it creates bottlenecks and many relays are required to sustain high communication between peers.
由此看来,A与B之间发送的消息确实需要rdv转发啊!