The Standard TCPServer and TCPClient don't work on my machine for some reason, but Teamviewer manages to make a connection between two machines, and I would guess that the actual remote desktop session isn't going through their servers as it would probably be quite heavy.

Could someone explain to be how this is possible, because I've tried every TCP server/client code I could find and it still cannot connect recieve information from the outside world.

有帮助吗?

解决方案

TeamViewer uses a technique called UDP Hole Punching.

This allows to connect two nat'd peers without make data pass through a server.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top