Merge branch 'master' into eiger

This commit is contained in:
lhdamiani
2021-04-14 18:04:40 +02:00
5 changed files with 30 additions and 4 deletions
+5
View File
@@ -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) {