in between separating datastreaming in client and receiver

This commit is contained in:
Dhanya Maliakal
2017-11-15 16:16:59 +01:00
parent 0ae706d9a5
commit 32d32dbcdc
6 changed files with 12 additions and 25 deletions

View File

@ -563,11 +563,7 @@ int UDPBaseImplementation::setActivate(int enable){
}
void UDPBaseImplementation::setStreamingPort(const uint32_t i) {
if (streamingPort == 0)
streamingPort = DEFAULT_ZMQ_PORTNO + (detID * ((myDetectorType == EIGER) ? 2 : 1) ); // multiplied by 2 as eiger has 2 ports
else
streamingPort = i;
streamingPort = i;
FILE_LOG(logINFO) << "Streaming Port: " << streamingPort;
}