如何在两台计算机之间进行通信 [英] How to communicate between 2 computers
本文介绍了如何在两台计算机之间进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
我正在开发一个应用程序,在该应用程序中我需要查询一组空闲的计算机,以便可以在那里传输文件,并且这些计算机可以执行那些文件.然后,我需要这些机器的执行结果,并需要使用结果更新数据库.
请提出在机器之间进行通信的最佳方法.我为此使用Asp.net,C#,Remoting等.
谢谢,
Jagjot
Hello Friends,
I am working on an application in which I need to query a group of machines who are free, so that I can transfer files there and those machines can execute those files. Then I need the execution results from those machines and need to update a database with the results.
Please suggest a best approach to communicate between machines. I am using Asp.net, C#, Remoting etc for this.
Thanks,
Jagjot
推荐答案
一种简单的方法是在WCF中使用消息队列(MSMQ):
http://archive.msdn.microsoft.com/msmqpluswcf/Release/ProjectReleases.aspx? ReleaseId = 78 [ ^ ]
A dead easy way is to use Message Queue (MSMQ) with WCF:
http://archive.msdn.microsoft.com/msmqpluswcf/Release/ProjectReleases.aspx?ReleaseId=78[^]
这篇关于如何在两台计算机之间进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文