Isn't it great when the example in the docs doesn't actually work?
@alok99 usually that happens when it's an outdated example.
@trinityparadox definitely. Though this is coming from ZeroMQ's regularly updated guide. Maybe C++ isn't as commonly used? I might eventually submit a PR to fix it, or at least document it properly.