Changeset 255 in flair-src for trunk/tools/FlairGCS
- Timestamp:
- Jul 23, 2018, 5:01:27 PM (6 years ago)
- Location:
- trunk/tools/FlairGCS/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/Manager.cpp
r248 r255 173 173 } 174 174 if (connections.count() == 2) { 175 tabBar->addTab(icon_green,hiddenTabName); 175 if(connections[0].socket!=NULL) { 176 tabBar->addTab(icon_green,hiddenTabName); 177 } else { 178 tabBar->addTab(icon_red,hiddenTabName); 179 } 176 180 currentTab = 0; 177 181 } -
trunk/tools/FlairGCS/src/UdtSocket.cpp
r254 r255 160 160 fprintf(stderr,"prob %i\n", UDT::getlasterror().getErrorCode()); 161 161 } else if(readfds==socket && num==1 && rv==1) { 162 163 162 int size; 164 163 do { 165 QCoreApplication::processEvents();//let watchdog timer send heartbeat166 164 size=UDT::recvmsg(socket, buf, buf_size); 167 165 … … 184 182 } 185 183 case START_SENDING_FILES: { 186 printf("log\n");184 //printf("log\n"); 187 185 if((unsigned char)uncompressbuf[0]==XML_HEADER && socketType==unknown) { 188 186 socketType=log; … … 209 207 break; 210 208 case CLOSING_CONNECTION: 211 fprintf(stderr,"%s, connection closed \n",name.toLocal8Bit().constData());209 fprintf(stderr,"%s, connection closed by remote\n",name.toLocal8Bit().constData()); 212 210 emit dataReady(buf, size ); 213 211 stop = true;
Note:
See TracChangeset
for help on using the changeset viewer.