Consult the netty question, control panel, send the assignment to the server, and the server passes it to the client.

there is a server written by netty, and many CPP clients connect to the server. There is no communication between the client and the client. But there is also a control panel written by php, where you need to send instructions to the client of CPP.

what is the better way to communicate between my control panel and the server written by netty? Can I open a rpc to the control panel call in the socket service written by my netty? Then can I operate the connection of the CPP client in rpc?

or my control panel, which also connects to the server as a client and sends instructions to other selected clients.

the client and server are in CCMUP S mode. But the control panel is in Bhammer S mode. The control panel needs to pass the control instructions to the client in Cmax S mode through the server.

Feb.07,2022

your problem description. I look really confused

generally speaking, the communication between the client and the server only needs to determine the protocol, and it has nothing to do with what language and framework the client uses. For example, if you determine to use the TCP protocol at the bottom and specify how to serialize and deserialize the communication data, the client and the server can communicate and parse the data normally. Whether php or cPP, there will be a set of things like socket and serialization.


Yes, I have done such a project. If java, opens a service, and since netty, is used, I think it is a long tcp link. In this long link, you just need to save the relationship between each device and channel, and then send it out


Hello. I wrote a small demo of netty if I want to send the value passed from the front end to the client. How do you operate in netty? this is just sending data once netty starts.


web system just uses http to request it.

Menu