here is my issue:
I have server_A and server_B . server_A sends data to server_B by lib cURL...
On server_B running the web socket server (Ratchet), how can i get data from server_A and made notify my clients who are connected to socket at the moment ???
Can you help me to solve this problem?
socket server code:
Code: Select all
$server = IoServer::factory( new HttpServer( new WsServer( //new EchoServer() new WebSocketController() ) ), 8080, "127.0.0.1" ); $server->run();