From b1dde586e114fe7203e0b408dfd9e6a8ef9f465c Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Fri, 7 Oct 2016 10:15:12 +0200 Subject: [PATCH] back to subscriber publisher --- slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp index 7f1a1af00..95b7f903b 100644 --- a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp +++ b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp @@ -5058,7 +5058,7 @@ void multiSlsDetector::startReceivingDataThread(){ void *context; void *zmqsocket; context = zmq_ctx_new(); - zmqsocket = zmq_socket(context, ZMQ_PULL); + zmqsocket = zmq_socket(context, ZMQ_SUB); zmq_connect(zmqsocket, hostname); cout << "ZMQ Client of " << ithread << " at " << hostname << endl; cprintf(BLUE,"%d Created socket\n",ithread);