This commit is contained in:
2019-11-21 12:35:07 +01:00
parent 83221ee955
commit 8727a93e3e
3 changed files with 8 additions and 4 deletions

View File

@ -228,7 +228,6 @@ class Implementation : private virtual slsDetectorDefs {
// config parameters
int numThreads;
const static int MAX_NUMBER_OF_LISTENING_THREADS = 2;
detectorType myDetectorType;
int numDet[MAX_DIMENSIONS];
int detID;
@ -255,7 +254,7 @@ class Implementation : private virtual slsDetectorDefs {
// network configuration (UDP)
int numUDPInterfaces;
std::vector <std::string> eth;
uint32_t udpPortNum[MAX_NUMBER_OF_LISTENING_THREADS];
std::vector <uint32_t> udpPortNum;
int64_t udpSocketBufferSize;
int64_t actualUDPSocketBufferSize;

View File

@ -4,6 +4,8 @@
#include <stdint.h>
#define MAX_DIMENSIONS (2)
#define MAX_NUMBER_OF_LISTENING_THREADS (2)
//socket
#define GOODBYE (-200)
#define RECEIVE_SOCKET_BUFFER_SIZE (100*1024*1024)