Multi-hop REQ/REP, part I., socket type is known to all associated objects

This commit is contained in:
Martin Sustrik
2010-02-12 13:33:50 +01:00
parent cd7300fd4f
commit 7b4cf2a4d0
11 changed files with 13 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ zmq::req_t::req_t (class app_thread_t *parent_) :
reply_pipe_active (false),
reply_pipe (NULL)
{
options.type = ZMQ_REQ;
options.requires_in = true;
options.requires_out = true;
}