increasing default rx tcp port (#562)

* increasing rx tcp port by default when creating shm
This commit is contained in:
Dhanya Thattil
2022-10-18 15:24:04 +02:00
committed by GitHub
parent d9e34e1657
commit d2c4827b31
18 changed files with 30 additions and 28 deletions

View File

@ -43,7 +43,7 @@ ClientInterface::~ClientInterface() {
ClientInterface::ClientInterface(int portNumber)
: detType(GOTTHARD),
portNumber(portNumber > 0 ? portNumber : DEFAULT_PORTNO + 2),
portNumber(portNumber > 0 ? portNumber : DEFAULT_TCP_RX_PORTNO),
server(portNumber) {
functionTable();
parentThreadId = gettid();

View File

@ -329,7 +329,7 @@ class Implementation : private virtual slsDetectorDefs {
// network configuration (UDP)
std::array<std::string, MAX_NUMBER_OF_LISTENING_THREADS> eth;
std::array<uint32_t, MAX_NUMBER_OF_LISTENING_THREADS> udpPortNum{
{DEFAULT_UDP_PORTNO, DEFAULT_UDP_PORTNO + 1}};
{DEFAULT_UDP_DST_PORTNO, DEFAULT_UDP_DST_PORTNO + 1}};
int actualUDPSocketBufferSize{0};
// zmq parameters