mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-27 16:50:02 +02:00
work
This commit is contained in:
parent
f64facee0c
commit
8f8d565e4e
@ -243,7 +243,8 @@ int slsReceiverTCPIPInterface::function_table(){
|
||||
|
||||
int slsReceiverTCPIPInterface::decode_function(sls::DataSocket &socket){
|
||||
ret = FAIL;
|
||||
int n = mySock->ReceiveDataOnly(&fnum,sizeof(fnum));
|
||||
// int n = mySock->ReceiveDataOnly(&fnum,sizeof(fnum));
|
||||
int n = socket.receiveData(&fnum, sizeof(fnum));
|
||||
if (n <= 0) {
|
||||
FILE_LOG(logDEBUG3) << "Could not read socket. "
|
||||
"Received " << n << " bytes," <<
|
||||
|
Loading…
x
Reference in New Issue
Block a user