如何远程运行程序? [英] how can I run a program remotely?

查看:83
本文介绍了如何远程运行程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个硬件,并已通过串行端口连接到它.

我已经编写了代码,可以从我的计算机以及通过局域网连接到我的计算机的其他一些计算机向其发送数据包.

我可以从这些计算机远程将数据包发送到硬件吗?

我已经将其他计算机上的请求保存到数据库中,并从计算机中检查了数据库并发送了数据包……但是由于cpu的使用,我现在不想再这样做了.

Hi,

I have a hardware and am connected to it with serial port.

I have written code to send a packet to it from my computer and some other computers connected to my computer with lan network.

Can I send packets to the hardware from these computers remotely?

I''ve saved requests from other computer to DB and I checked DB from my computer and send packets ... but now I dont want to do it anymore because of cpu usage .

推荐答案

您好Mahnoosh,

您可以编写一个在连接到硬件的计算机上运行的WebService.该Web服务将与您的硬件通信(发送数据包
通过串口等).您网络上的其他计算机可以使用
Webservice与您的硬件进行远程通信.

希望这会有所帮助.

干杯

曼弗雷德(Manfred)
Hi Mahnoosh,

you could write a WebService that runs on the computer connected to your hardware. The webservice will communicate with your hardware (send packets
via serial port etc. ). The other computers on your network can utilize the
webservice to remotely communicate with your hardware.

Hope this helps.

Cheers

Manfred


这篇关于如何远程运行程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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