I want to do it with 2 independend scripts:
1) daemon: listens to any incoming signal messages and responds to them
2) the website sends out signal messages
How do I do this?
The main problem I am facing is with 2: when I send a request I want to listen for the response. But the daemon has already read that response so its no longer available.
Could there be two sockets? One for incoming messages and one for responses for requests?
Soryy if this is a dump question
hi I want to implement jsonRPC socket in php.
I want to do it with 2 independend scripts: 1) daemon: listens to any incoming signal messages and responds to them 2) the website sends out signal messages
How do I do this? The main problem I am facing is with 2: when I send a request I want to listen for the response. But the daemon has already read that response so its no longer available.
Could there be two sockets? One for incoming messages and one for responses for requests? Soryy if this is a dump question