summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-07-26 00:43:57 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-07-26 00:43:57 +0200
commit9119b4fd7b292b1a14db916040f8e7cc4731d4b6 (patch)
tree01786d8c6418179fda8826ced4dc6c436f7da33e /src/session.cpp
parent43b5b3444c5ea54fa17eab2e03b7e00c022f33b4 (diff)
TCP transport classes simplified
zmq_engine and tcp_socket merged into tcp_engine zmq_connecter and tcp_connecter merged into tcp_connecter zmq_listener and tcp_listener merged into tcp_listener Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.cpp b/src/session.cpp
index ed9b44e..d14b58c 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -24,7 +24,7 @@
#include "err.hpp"
#include "pipe.hpp"
#include "likely.hpp"
-#include "zmq_connecter.hpp"
+#include "tcp_connecter.hpp"
#include "pgm_sender.hpp"
#include "pgm_receiver.hpp"
@@ -307,7 +307,7 @@ void zmq::session_t::start_connecting (bool wait_)
// Both TCP and IPC transports are using the same infrastructure.
if (protocol == "tcp" || protocol == "ipc") {
- zmq_connecter_t *connecter = new (std::nothrow) zmq_connecter_t (
+ tcp_connecter_t *connecter = new (std::nothrow) tcp_connecter_t (
io_thread, this, options, protocol.c_str (), address.c_str (),
wait_);
alloc_assert (connecter);