Windows服务来轮询不同的计算机 [英] Windows service to poll different machines

查看:88
本文介绍了Windows服务来轮询不同的计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我开发了一个Web应用程序来管理流程.问题在于,主要过程中使用的工具是控制台应用程序.现在,由于我的应用程序是Web应用程序,因此我想通过Web服务轮询每台计算机,并读取目标计算机特定共享位置上存在的一些文件.
请让我知道您对如何进行操作的想法

谢谢.

Hi,
I have developed a web application to mangage a process. The catch is that the tool which is used in the main process is a console application. Now since my application is a web application i want to poll each of the machines through a web service and read some files present at particular shared location of target machine.
Kindly let me know your ideas on how to proceed

Thanks.

推荐答案

使用winsock控件或tcp或udp的某些实现.您将需要在每台计算机上使用一个客户端来监听轮询.所需的代码太多,因此请开始使用,然后询问是否遇到问题.
Use the winsock control or some implementation of tcp or udp. You''ll need a client on each machine to listen for the poll. Way too much code needed so please get started and then ask something specific if you get stuck.


这篇关于Windows服务来轮询不同的计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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