本文介绍了在C ++中请求有关客户端服务器应用程序的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须用c ++开发一个客户端服务器应用程序,它必须能够从服务器向一个应用程序发送命令(ctrl / alt / shift,后跟一个/ b / ... 1/2/3)实际上是焦点。



我尝试了什么:



我做的客户端服务器,但不是客户端服务器中应用程序的控制命令

I have to develop a client server application in c++ that must be able to to send command(ctrl/alt/shift,followed by a/b/...1/2/3) from server to an application that is actually in focus.

What I have tried:

I made only a client server but not the control command for the application in the server from the client

推荐答案

引用:

我只是从服务器上创建了一个客户端服务器而不是服务器中应用程序的控制命令

I made only a client server but not the control command for the application in the server from the client

好吧,没有人阻止你这样做。

如果你有客户端和服务器,他们能够进行通信,下一步很简单:根据一个简单的协议发送'命令',另一方面解释并执行它们,给出适当的反馈。那么障碍是什么?

Well, no one prevents you in doing that.
If you have the client and the server and they are able to communicate, the next step is simple: send the 'commands' based on a simple protocol, and in the other side interpretate and execute them, giving feedback as appropriate. What is the hurdle, then?



这篇关于在C ++中请求有关客户端服务器应用程序的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 07:25
查看更多