[zeromq-dev] New ZMQ_STREAM socket type

Pieter Hintjens ph at imatix.com
Thu Jun 27 20:58:26 CEST 2013


Hi all,

I've pushed a patch for ZMQ_STREAM sockets to the libzmq master[1].

This essential replaces ZMQ_ROUTER + RAW and includes Gavin McNiff's
patch to store the identity on outgoing connections.

So ZMQ_STREAM is now a usable socket type for TCP clients and servers,
and I've made a test case that shows simple a HTTP ping-pong, in
tests/test_stream.cpp.

The socket implementation isn't highly elegant. But at least it's in a
separate class now so can be tuned.

-Pieter

[1] https://github.com/zeromq/libzmq/pull/593



More information about the zeromq-dev mailing list