Changeset 258 in flair-src for trunk/tools/FlairGCS/src
- Timestamp:
- Jul 24, 2018, 4:52:00 PM (6 years ago)
- Location:
- trunk/tools/FlairGCS/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/ConnectionLayout.cpp
r253 r258 65 65 66 66 void ConnectionLayout::XmlToSend(QDomDocument doc) { 67 //fprintf(stderr,"xml to send\n%s\n",doc.toString().toLocal8Bit().constData());67 //fprintf(stderr,"xml to send\n%s\n",doc.toString().toLocal8Bit().constData()); 68 68 69 69 // xml to send a mettre dans le manager 70 socket->write(doc.toString().toLocal8Bit().constData(),doc.toString().toLocal8Bit().length());/* 70 if(doc.toString().toLocal8Bit().length()!=0) { 71 socket->write(doc.toString().toLocal8Bit().constData(),doc.toString().toLocal8Bit().length()); 72 } 73 /* 71 74 QMetaObject::invokeMethod( 72 75 socket, "write", Qt::BlockingQueuedConnection, -
trunk/tools/FlairGCS/src/UdtSocket.cpp
r255 r258 241 241 qint64 sent = UDT::sendmsg(socket, buf, size, ttl, inOrder); 242 242 if (sent != size) { 243 fprintf(stderr,"sent %lld/%lld %s\n",sent ,size,UDT::getlasterror().getErrorMessage()); 243 244 fprintf(stderr,"%s, error writting to udt (%s)\n",name.toLocal8Bit().constData(), UDT::getlasterror().getErrorMessage()); 244 245 if (UDT::getlasterror().getErrorCode() == 2001) {
Note:
See TracChangeset
for help on using the changeset viewer.