mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
init
This commit is contained in:
parent
0d98bd0048
commit
1db1b0307c
@ -312,7 +312,7 @@ class slsReceiverTCPIPInterface : private virtual slsDetectorDefs {
|
||||
int (slsReceiverTCPIPInterface::*flist[NUM_REC_FUNCTIONS])(sls::ServerInterface2& socket);
|
||||
|
||||
/** Message */
|
||||
char mess[MAX_STR_LENGTH] = "dummy message";
|
||||
char mess[MAX_STR_LENGTH]{};
|
||||
|
||||
/** success/failure */
|
||||
int ret{OK};
|
||||
|
@ -29,10 +29,9 @@ slsReceiverTCPIPInterface::~slsReceiverTCPIPInterface() {
|
||||
}
|
||||
|
||||
slsReceiverTCPIPInterface::slsReceiverTCPIPInterface(int pn):
|
||||
myDetectorType(GOTTHARD)
|
||||
|
||||
myDetectorType(GOTTHARD),
|
||||
portNumber(pn > 0 ? pn : DEFAULT_PORTNO + 2)
|
||||
{
|
||||
portNumber = pn > 0 ? pn : DEFAULT_PORTNO + 2;
|
||||
function_table();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user