mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
solved merge conflict in changes to use ZmqSocket.h externally
This commit is contained in:
commit
2c276db579
@ -10,6 +10,7 @@
|
|||||||
#include "ansi.h"
|
#include "ansi.h"
|
||||||
|
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
#include <zmq.h>
|
#include <zmq.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <netdb.h> //gethostbyname()
|
#include <netdb.h> //gethostbyname()
|
||||||
@ -225,7 +226,7 @@ public:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cerr << "Error: Could not convert hostname to internet address" << endl;
|
cprintf(RED, "Error: Could not convert hostname to internet address\n");
|
||||||
return 1;
|
return 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -243,7 +244,7 @@ public:
|
|||||||
freeaddrinfo(res);
|
freeaddrinfo(res);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
cerr << "Error: Could not convert internet address to ip string" << endl;
|
cprintf(RED, "Error: Could not convert internet address to ip string\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user