您是否知道teamviewer如何使客户端在没有开放端口的情况下进行客户端通信? [英] Do you know how teamviewer make the client to cliente comunication whithout open ports?

查看:185
本文介绍了您是否知道teamviewer如何使客户端在没有开放端口的情况下进行客户端通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用服务器/客户端架构的程序,但是如果我想通过Internet使用该程序,那么我将面临开放端口的问题.

¿Teamviewer如何解决此问题? ¿如何不需要开放端口?

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

推荐答案

使用诸如Microsoft Network Monitor或Whireshark之​​类的嗅探器,甚至ProcessExplorer都可以做到.您将看到,它正在与服务器联系,以找到一个聚会,例如Skype或许多其他工具.该服务器不用于实际的数据交换,仅用于握手-或它们使用遍布全球的网关.因此,您有两个客户端"进行通信.这是客户端-服务器混合的方到方体系结构.好吧,如果您想进行自己的路由选择",则要复杂一些,但这就是这个主意.例如,这些工具中的许多工具也使用UPNP,并在可能的情况下尝试打开端口.

但这不是一个实际的编程问题...
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...


这篇关于您是否知道teamviewer如何使客户端在没有开放端口的情况下进行客户端通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆