mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 18:44:35 +02:00
Merge branch 'master' into eiger
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <rapidjson/istreamwrapper.h>
|
||||
#include <rapidjson/document.h>
|
||||
#include <rapidjson/stringbuffer.h>
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace buffer_config;
|
||||
@@ -96,6 +97,10 @@ void* BufferUtils::connect_socket(
|
||||
string ipc_address = BUFFER_LIVE_IPC_URL +
|
||||
detector_name + "-" +
|
||||
stream_name;
|
||||
#ifdef DEBUG_OUTPUT
|
||||
cout << "[BufferUtils::connect_socket]";
|
||||
cout << " IPC address: " << ipc_address << endl;
|
||||
#endif
|
||||
|
||||
void* socket = zmq_socket(ctx, ZMQ_SUB);
|
||||
if (socket == nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user