从PC到另一台计算机运行/启动程序或应用程序 [英] run/start a program or application from a pc to another computer

查看:281
本文介绍了从PC到另一台计算机运行/启动程序或应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想创建一个类似遥控器的软件(在LAN连接上)。

场景是我将从Pc1(服务器)打开软件,它将运行cmd。来自其他计算机(PC2)的exe(或其他程序)

Hi i want to create a software that acts like a remote control(on a LAN connection).
The scenario is i will open the software from Pc1(server) and it will run cmd.exe (or other program) from other computer (PC2)

推荐答案

您必须创建客户端/服务器应用程序,服务器应该在本地PC上的远程PC和客户端上运行,即pc1,如果你只想在远程系统上打开进程,那么你的服务器应该能够在从客户端获取命令时打开新进程。
You have to make client/server application, server should run on remote pc and client on local pc i.e pc1, if you just want to open process on remote system then your server should be capable to open new processes when it get commands from client.


在这种情况下。

问题是我不知道如何将服务器软件连接到客户端。

你能给出一些用于将服务器软件连接到客户端的示例代码。

来解决/制作问题很容易。
In that case.
The problem is i dont know how to connect server software to client.
Can you give some sample code for connecting server software to a client.
to solve/make the problem easily.


这篇关于从PC到另一台计算机运行/启动程序或应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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