mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
localhost works as a receiver now
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@426 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -233,10 +233,11 @@ int slsReceiverFunctionList::startListening(){
|
||||
do {
|
||||
|
||||
if(!strlen(eth)){
|
||||
cout<<"error:eth is empty:"<<eth<<endl;
|
||||
break;
|
||||
}
|
||||
udpSocket = new genericSocket(server_port,genericSocket::UDP,eth);
|
||||
cout<<"warning:eth is empty.listening to all"<<endl;
|
||||
udpSocket = new genericSocket(server_port,genericSocket::UDP);
|
||||
}else
|
||||
udpSocket = new genericSocket(server_port,genericSocket::UDP,eth);
|
||||
|
||||
if (udpSocket->getErrorStatus()){
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user