Changeset 255 in flair-src for trunk/tools/FlairGCS/src/UdtSocket.cpp


Ignore:
Timestamp:
Jul 23, 2018, 5:01:27 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

maj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/UdtSocket.cpp

    r254 r255  
    160160        fprintf(stderr,"prob %i\n", UDT::getlasterror().getErrorCode());
    161161    } else if(readfds==socket && num==1 && rv==1) {
    162        
    163162      int size;
    164163      do {
    165         QCoreApplication::processEvents();//let watchdog timer send heartbeat
    166164        size=UDT::recvmsg(socket, buf, buf_size);
    167165     
     
    184182            }
    185183            case START_SENDING_FILES: {
    186               printf("log\n");
     184              //printf("log\n");
    187185              if((unsigned char)uncompressbuf[0]==XML_HEADER && socketType==unknown) {
    188186                socketType=log;
     
    209207              break;
    210208            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());
    212210              emit dataReady(buf, size );
    213211              stop = true;
Note: See TracChangeset for help on using the changeset viewer.