diff --git a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp index b8506ac2e..faad273d3 100644 --- a/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp +++ b/slsDetectorSoftware/multiSlsDetector/multiSlsDetector.cpp @@ -4989,32 +4989,24 @@ void multiSlsDetector::startReceivingData(){ //loop though the half readouts to start sockets + zmq_msg_t message; + int len,idet = 0; void *context; void *zmqsocket; context = zmq_ctx_new(); zmqsocket = zmq_socket(context, ZMQ_PULL); - //zmq_setsockopt(zmqsocket, ZMQ_SUBSCRIBE, "", 0); // an empty string implies receiving any messages - zmq_connect(zmqsocket, hostname); // connect to publisher,the publisher server does not have to be started + zmq_connect(zmqsocket, hostname); // connect to publisher,the publisher server does not have to be started pthread_mutex_lock(&ms); receivingDataThreadMask|=(1<<(ithread)); - //cout<