mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 21:37:13 +02:00
back to subscriber publisher
This commit is contained in:
@ -5058,7 +5058,7 @@ void multiSlsDetector::startReceivingDataThread(){
|
|||||||
void *context;
|
void *context;
|
||||||
void *zmqsocket;
|
void *zmqsocket;
|
||||||
context = zmq_ctx_new();
|
context = zmq_ctx_new();
|
||||||
zmqsocket = zmq_socket(context, ZMQ_PULL);
|
zmqsocket = zmq_socket(context, ZMQ_SUB);
|
||||||
zmq_connect(zmqsocket, hostname);
|
zmq_connect(zmqsocket, hostname);
|
||||||
cout << "ZMQ Client of " << ithread << " at " << hostname << endl;
|
cout << "ZMQ Client of " << ithread << " at " << hostname << endl;
|
||||||
cprintf(BLUE,"%d Created socket\n",ithread);
|
cprintf(BLUE,"%d Created socket\n",ithread);
|
||||||
|
Reference in New Issue
Block a user