socket disconnecting in receiver

This commit is contained in:
Dhanya Maliakal
2015-11-19 11:10:59 +01:00
parent 8b0895add0
commit 291fe8bc22
3 changed files with 5 additions and 8 deletions

View File

@ -505,9 +505,7 @@ void* postProcessing::processData(int delflag) {
cout.flush();
cout<<flush;
usleep(2000); //2ms need this else connecting error to receiver (too fast?)
usleep(20000); //20ms need this else connecting error to receiver (too fast)
//get progress
if(setReceiverOnline() == ONLINE_FLAG){