寻找在两个客户端之间建立通信的服务器. [英] Looking for a server that establishes communication between two clients.
问题描述
你好,
我想要一台具有固定IP地址的服务器(该IP地址将在我的家用PC上运行).远程[http服务器作为客户端]将连接到该服务器.第二个远程[或本地]客户端[Web浏览器]将连接到服务器.服务器将在两个客户端之间建立通信.服务器将中继所有通信,包括原始tcp数据包.有人知道可以执行此操作的程序或服务器吗? [在Google上进行了一些研究之后,我认为NodeJS可能是对此的最佳选择.]
谢谢,
-ren
Hello,
I want a server with a fixed ip address(which I will run on my home pc). A remote [http server acting as a] client will connect to this server. A second remote[or local] client[web browser] will connect to the server. The server will establish a communication between the two clients. The server will relay all communication, including the raw tcp packets. Does anybody know of a program or server that can do this? [After doing some research on google, I think NodeJS may be the best option for this.]
Thanks,
-ren
推荐答案
问题的答案在很大程度上取决于您打算如何使用这种客户端/服务器体系结构:
一个.简单的二进制/字节交换?
b.文件交换?
C.需要交换HTML吗?
d.需要SOAP吗?
e.需要任何安全性吗?
现有许多解决方案,从简单到过于复杂:
例如,从您自己的自定义UDP或TCP交换到标准Windows Server的交换.
...以及从免费到超级昂贵的产品:
例如,从IRC到BizTalk.
没有手头的特定任务,您将无法选择合适的任务.要获得更具体的答案,请发布更具体的问题.
The answer to your question would depend very much on how you intend to use such client/server architecture:
a. Simple binary/byte exchange?
b. File exchange?
c. Need to exchange HTML?
d. Need SOAP?
e. Need any security?
There are many existing solutions in place, from simple to overcomplicated:
from your own custom UDP or TCP exchange, to your standard Windows Server ones, as example.
...as well as from free ones to uber-expensive ones:
like, from IRC, to BizTalk.
Without a certain task at hand you cannot pick the right one. To get a more specific answer, publish a more specific question.
这篇关于寻找在两个客户端之间建立通信的服务器.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!