Java: Using server to create P2P between two clients

只愿长相守 提交于 2019-12-06 14:56:52

It sounds like you are looking for nat traversal techniques. There is no single solution because there are many different network setups. Most p2p software employs a combination of different solutions, such as using IPv6 where available, negotiating with home routers and operating system firewalls or NAT hole punching. Servers can assist in the last point.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!