Question

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.

Was it helpful?

Solution

TeamViewer uses a technique called UDP Hole Punching.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top