how does the PHP server call the returned data after the normal communication of the TCP persistent connection is successful?
I have a car networking project, and now I can communicate with each car normally through gatwaywork. But now you can"t just communicate between gatwaywork and the car. Now you also need to set up a php server. When you want to use the car, you can call the interface of the php server, send messages to each car, and then display it on the page through the php server after receiving the feedback from the car. I saw that the official website http://doc2.workerman.net/wor. communicates through WebSocket, but the car and gatwaywork communicate through TCP, so the protocol cannot be changed. Later, I thought of using GatewayClient as a client to connect to the server, and the messages of all cars were sent to GatewayClient, but the official prompt was "GatewayClient cannot receive the data sent by the client."
can anyone help me with some ideas and solutions?