mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-06 15:34:14 +02:00
Change bind and connect socket helper functions to take string
This commit is contained in:
@@ -39,7 +39,8 @@ int main (int argc, char *argv[]) {
|
||||
BufferStats stats(config.detector_name, module_id, STATS_MODULO);
|
||||
|
||||
auto ctx = zmq_ctx_new();
|
||||
auto socket = connect_socket(ctx, config.detector_name, module_id);
|
||||
auto socket = connect_socket(
|
||||
ctx, config.detector_name, to_string(module_id));
|
||||
|
||||
auto file_buff = new BufferBinaryFormat();
|
||||
uint64_t pulse_id;
|
||||
|
||||
Reference in New Issue
Block a user