简体   繁体   English

jxta:jxse是否提供nat tcp遍历解决方案?

[英]jxta: does jxse provides a nat tcp traversal solution?

does jxse provides the mechanism for direct TCP P2P communication behind firewall/NATs ie through STUNT or ICE? jxse是否提供用于在防火墙/ NAT之后通过STUNT或ICE直接进行TCP P2P通信的机制? I have scanned through practical JXTA || 我已经通过实用的JXTA进行了扫描|| written by @Vestry and on the related sections but couldn't find the answer. 由@Vestry和相关章节撰写,但找不到答案。

JXTA does not use STUN or ICE, it uses its own relay mechanism. JXTA不使用STUN或ICE,它使用自己的中继机制。 "Endpoint" peers establish outbound connections to a "Relay" peer which binds the connections together. “端点”对等点建立与“中继”对等点的出站连接,该中继将连接绑定在一起。 Obviously the IP of the relay must be public or visible to the endpoint peers. 显然,中继的IP必须是公共的或对端点对等方可见。 The relay connection is opened using either a JXTA TCP socket or using polling HTTP requests on a selected port of the relay. 使用JXTA TCP套接字或在中继的选定端口上使用轮询HTTP请求来打开中继连接。 A peer can be both a relay and an endpoint. 对等体可以是中继站,也可以是端点。

All this is configured via the NetworkConfigurator. 所有这些都是通过NetworkConfigurator配置的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM