1. what is a barr ?
2. try
instead of write functionqint64 QIODevice::writeData ( const char * data, qint64 maxSize )
3. try to write byte by byte like this
4. How do you see, that not all of written bytes are received ?Qt Code:
for ( int i = 0; i < 10; i++ ) { tcpSocket->write( &arr[ i ], 1 ); }To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks