From d2d02c3ebc9640ce4780f576b93580845011c283 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Fri, 15 May 2020 17:02:46 +0200 Subject: [PATCH] ZMQ connect instead of bind --- core-buffer/src/WriterZmqReceiver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-buffer/src/WriterZmqReceiver.cpp b/core-buffer/src/WriterZmqReceiver.cpp index 010bc9e..66e0cac 100644 --- a/core-buffer/src/WriterZmqReceiver.cpp +++ b/core-buffer/src/WriterZmqReceiver.cpp @@ -33,7 +33,7 @@ WriterZmqReceiver::WriterZmqReceiver( ipc_addr << ipc_prefix << i; const auto ipc = ipc_addr.str(); - if (zmq_bind(sockets_[i], ipc.c_str()) != 0) { + if (zmq_connect(sockets_[i], ipc.c_str()) != 0) { throw runtime_error(zmq_strerror(errno)); } }