zeromq / azmq

C++ language binding library integrating ZeroMQ with Boost Asio
Boost Software License 1.0
319 stars 109 forks source link

Example in README.md is broken #202

Open rhvonlehe opened 1 year ago

rhvonlehe commented 1 year ago

There are multiple problems with the code in main page but the two biggest ones are:

1) the subscriber does not connect to the inproc endpoint that the server binds to 2) the subscriber connects to two different, non-localhost, non-routable IP address that are likely not going to match anyone's subnet

The unit tests provide more workable examples to follow. The code on the main page will only frustrate new users. Suggest removing the example from the README or replace it with one that works without modification.