I’m using Visual Studio Express 2012 to build the Paranoid Pirate Pattern examples in Visual C++ on Windows.
http://zguide.zeromq.org/page:all#Robust-Reliable-Queuing-Paranoid-Pirate- Pattern Downloaded the example code from GitHub https://github.com/imatix/zguide/ My question is, has anyone managed to make the Paranoid Pirate Pattern in C++ work on Windows? I get the following output from the components; ppqueue, ppworker and lpclient. I’ve made a few minor code changes related to the waiting/delay intervals to convert from seconds to milliseconds as Sleep() in Visual C++ requires, and also a few necessities to get the code to compile. After toying around with it for quite a while I thought I’d ask: Anyone know how or managed to get this working?? Care to share? Thanks, Riskybiz. ppqueue: N.B. the random symbols generated where the worker identity should be. E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker Ø not ready E: worker Ø not ready E: worker Ø not ready E: worker Ø not ready E: worker ² not ready E: worker ² not ready E: worker ² not ready E: worker ² not ready E: worker ² not ready ppworker: can never reach the queue. I: (07EC-4F30) worker ready I: (07EC-4F30) worker heartbeat W: (07EC-4F30) heartbeat failure, can't reach queue W: (07EC-4F30) reconnecting in 1000 msec... I: (87BC-56F4) worker ready I: (87BC-56F4) worker heartbeat I: (87BC-56F4) worker heartbeat I: (87BC-56F4) worker heartbeat W: (87BC-56F4) heartbeat failure, can't reach queue W: (87BC-56F4) reconnecting in 2000 msec... I: (1320-23FE) worker ready I: (1320-23FE) worker heartbeat I: (1320-23FE) worker heartbeat I: (1320-23FE) worker heartbeat W: (1320-23FE) heartbeat failure, can't reach queue W: (1320-23FE) reconnecting in 4000 msec... I: (5894-5F2C) worker ready lpclient: doesn’t reach the server and gives up. I: connecting to server... W: no response from server, retrying... I: connecting to server... W: no response from server, retrying... I: connecting to server... E: server seems to be offline, abandoning
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
