You can make a patch to clean up the code if you like; this is a pretty
brutal copy/paste of router.cpp.


On Thu, Jun 27, 2013 at 10:50 PM, Martin Hurton <notifications@github.com>wrote:

> In src/stream.cpp:
>
> > +    more_in (false),
> > +    current_out (NULL),
> > +    more_out (false),
> > +    next_peer_id (generate_random ())
> > +{
> > +    options.type = ZMQ_STREAM;
> > +    options.recv_identity = true;
> > +    options.raw_sock = true;
> > +
> > +    prefetched_id.init ();
> > +    prefetched_msg.init ();
> > +}
> > +
> > +zmq::stream_t::~stream_t ()
> > +{
> > +    zmq_assert (anonymous_pipes.empty ());;
>
> as we name pipes when they are attached, we do not need anonymous_pipes
> container.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zeromq/libzmq/pull/593/files#r4926325>
> .
>