do not push, debug commands involved

This commit is contained in:
Dhanya Maliakal
2015-08-10 13:44:57 +02:00
parent a4a0ea508e
commit 52f83b9249
4 changed files with 79 additions and 21 deletions

View File

@ -745,15 +745,19 @@ int UDPBaseImplementation::createUDPSockets(){ FILE_LOG(logDEBUG) << __AT__ << "
if(!strlen(eth)){
cout<<"warning:eth is empty.listening to all"<<endl;
for(int i=0;i<numListeningThreads;i++)
for(int i=0;i<numListeningThreads;i++){
cprintf(RED, "gonna try listening to all\n");
udpSocket[i] = new genericSocket(server_port[i],genericSocket::UDP,bufferSize);
}
}
//normal socket
else{
cout<<"eth:"<<eth<<endl;
for(int i=0;i<numListeningThreads;i++)
for(int i=0;i<numListeningThreads;i++){
cprintf(RED, "gonna try listening to all\n");
udpSocket[i] = new genericSocket(server_port[i],genericSocket::UDP,bufferSize,eth);
}
}
//error