Change bind and connect socket helper functions to take string

This commit is contained in:
2021-01-19 12:59:50 +01:00
parent a3d0286250
commit ccca4225d4
5 changed files with 15 additions and 9 deletions
+2 -1
View File
@@ -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;