From 7b4cf2a4d040057f6f378cac2cd125513a859c1b Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 12 Feb 2010 13:33:50 +0100 Subject: Multi-hop REQ/REP, part I., socket type is known to all associated objects --- src/rep.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rep.cpp') diff --git a/src/rep.cpp b/src/rep.cpp index b6bffae..b7685b4 100644 --- a/src/rep.cpp +++ b/src/rep.cpp @@ -30,6 +30,7 @@ zmq::rep_t::rep_t (class app_thread_t *parent_) : waiting_for_reply (false), reply_pipe (NULL) { + options.type = ZMQ_REP; options.requires_in = true; options.requires_out = true; } -- cgit v1.2.3