سؤال

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