Merge branch 'master' of git@github.com:sustrik/zeromq2

This commit is contained in:
Martin Sustrik
2009-09-11 18:18:25 +02:00
14 changed files with 1361 additions and 21 deletions

View File

@@ -148,7 +148,7 @@ zmq::socket_base_t *zmq::app_thread_t::create_socket (int type_)
case ZMQ_P2P:
case ZMQ_REQ:
case ZMQ_REP:
s = new socket_base_t (this);
s = new socket_base_t (this, type_);
break;
default:
// TODO: This should be EINVAL.