mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 16:48:01 +02:00
Complete rewrite of receiver, with new changes
This commit is contained in:
@ -23,8 +23,8 @@ using namespace std;
|
||||
|
||||
|
||||
slsReceiverTCPIPInterface::~slsReceiverTCPIPInterface() {
|
||||
stop();
|
||||
if(mySock) {delete mySock; mySock=NULL;}
|
||||
/*stop();
|
||||
if(mySock) {delete mySock; mySock=NULL;}*/
|
||||
}
|
||||
|
||||
slsReceiverTCPIPInterface::slsReceiverTCPIPInterface(int &success, UDPInterface* rbase, int pn):
|
||||
@ -58,7 +58,7 @@ slsReceiverTCPIPInterface::slsReceiverTCPIPInterface(int &success, UDPInterface*
|
||||
|
||||
success=OK;
|
||||
|
||||
//create socket
|
||||
/*//create socket
|
||||
if(success == OK){
|
||||
mySock = new MySocketTCP(port_no);
|
||||
if (mySock->getErrorStatus()) {
|
||||
@ -76,7 +76,7 @@ slsReceiverTCPIPInterface::slsReceiverTCPIPInterface(int &success, UDPInterface*
|
||||
cout << "Function table assigned." << endl;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
@ -2927,8 +2927,8 @@ int slsReceiverTCPIPInterface::set_fifo_depth() {
|
||||
ret=FAIL;
|
||||
}else{
|
||||
retval = receiverBase->getFifoDepth();
|
||||
if(value >= 0 && retval != value)
|
||||
ret = FAIL;
|
||||
/*if(value >= 0 && retval != value)
|
||||
ret = FAIL;*/
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user