[zeromq-dev] Expected behavior of P2P Sockets?

Martin Sustrik sustrik at 250bpm.com
Sat Feb 20 08:35:35 CET 2010

Jianhua Cao wrote:
> http://gist.github.com/309551


> BTW any way to disable pgm debug prints?
> (process:2385): Pgm-DEBUG: Using TSC timer.
> (process:2385): Pgm-DEBUG: Using usleep() sleep.

These are debug logs from OpenPGM. They'll be switched off in the next 
0MQ release.

 > Also noticed that in another situation (main1() in the gist above)
 > hen server does the send and client does the recv,
 > restart client causes server to crash.
 > Assertion failed: !inpipe && !outpipe (p2p.cpp:48)
 > I suspect that the way I am not using P2P socket in a  right way.

No. P2P sockets are brand new feature and they still aren't fully 
implemented. Auto-reconnect code, as you see, is still missing.

We'll get all this stuff done in step-by-step manner.


More information about the zeromq-dev mailing list