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

@@ -3195,11 +3195,11 @@ void Module::initializeModuleStructure(detectorType type) {
shm()->detType = type;
shm()->numberOfModule.x = 0;
shm()->numberOfModule.y = 0;
shm()->controlPort = DEFAULT_PORTNO;
shm()->stopPort = DEFAULT_PORTNO + 1;
shm()->controlPort = DEFAULT_TCP_CNTRL_PORTNO;
shm()->stopPort = DEFAULT_TCP_STOP_PORTNO;
strcpy_safe(shm()->settingsDir, getenv("HOME"));
strcpy_safe(shm()->rxHostname, "none");
shm()->rxTCPPort = DEFAULT_PORTNO + 2;
shm()->rxTCPPort = DEFAULT_TCP_RX_PORTNO + moduleIndex;
shm()->useReceiverFlag = false;
shm()->numUDPInterfaces = 1;
shm()->zmqport =