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


Ignore:
Timestamp:
Jul 24, 2018, 4:52:00 PM (3 years ago)
Author:
Sanahuja Guillaume
Message:

avoid trying to send xml message of size=0

add debug in case of gcs crash when clicking on apply

File:
1 edited

Legend:

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

    r255 r258  
    241241  qint64 sent = UDT::sendmsg(socket, buf, size, ttl, inOrder);
    242242  if (sent != size) {
     243    fprintf(stderr,"sent %lld/%lld %s\n",sent ,size,UDT::getlasterror().getErrorMessage());
    243244    fprintf(stderr,"%s, error writting to udt (%s)\n",name.toLocal8Bit().constData(), UDT::getlasterror().getErrorMessage());
    244245    if (UDT::getlasterror().getErrorCode() == 2001) {
Note: See TracChangeset for help on using the changeset viewer.