Invert bind and connect among replay and writer

This commit is contained in:
2020-05-08 11:39:36 +02:00
parent 6ff82c4b09
commit fd33f72a09
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ void receive_replay(
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(strerror(errno));
}
}