Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a program that use the server/client arquitecture, but if I want to use the program over Internet, I face with the open ports problem.

¿How Teamviewer resolve this problem? ¿How don´t need open ports?

Thanks
Posted
Comments
Shahin Khorshidnia 20-May-12 2:28am    
What to do with C#?

1 solution

Use a sniffer like Microsoft Network Monitor or Whireshark or even ProcessExplorer will do it. You will see, that it is contacting a server, to find a party, like Skype, or many other tools. The server is not used for the actual data exchange, only for handshake - or they use gateways placed around the world. Thus you have two "clients" communicating. This is a mixed client-server party-to-party architecture. Well it is a little bit more complicated if you want to make your own "routing", but this is the idea. Many of these tools are also using UPNP for example and try to open ports if possible.

But this is not an actual programming question...
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900