ZmqWebBridge
ZmqWebBridge copied to clipboard
'Connecting' ReqRep with PubSub
Hi @hhuuggoo,
I'm a bit of a novice but I'm stuck with 'connecting' the Requests with the Pub server.
I'm running test.py, pyzmq_rep_server.py & pyzmq_pub.py in my terminal and running test html from my browser. The ReqRep round trip is working but i'm stuck on how to broadcast that message to all the Subscribers on same channel when making a Request.
Do you still you have any advice? Are you doing things differently?
Thanks
what do you want to do exactly? You want to make sure that the reply from the reqrep goes to all clients over pub sub?
If so then you would want the rpc server to push something out on the pub sub
Wbat are you using this for? You should be aware that this project isn't really being maintained anymore
I'm in the process of writing a game with multiplayer capabilities and ZMQ seems the best. Communications include a server pushing out data for the 'players/connections' involved in a session and players pushing data to each other.
Am I understanding it correctly that I need to have the test/bridge running, Rep Server, Pub Server and the RPC Test? Or must I combine them into one? I haven't grasped the RPC yet but it sounds like this is what I'm missing.
Do you recommend another system? Any advice is much appreciated.
P.S. Yeah, I noticed that the last commit was 2 years ago, but I still like this concept. I've been looking for the simplest implementation of ZMQ and I keep ending up here. I've also explored Node/PHP & pure PHP/JS options but they also have their issues.