Android TCP communication over the internet(not LAN).

喜夏-厌秋 提交于 2019-12-06 04:39:51

Have You heard about hole punching technique. Read about this - maybe it will be helpfull.link This is how skype works I think.The technique requires yet another node in communication - a server which is accessible by both clients, and which helps to make direct connections between two clients even if one of the client is behind a NAT.

I'm 99.8% sure that you will not be able to do this on mobile networks. If I recall correctly, each cell tower has its own IP, and each device connected to it has a private, internal IP. However, I'm sure you could get this to work on Wifi.

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