valerianst
16th May 2014, 12:28
Hi everybody,
I'm sometimes experiencing crashes on this function: qint64 QIODevice::write ( const QByteArray & byteArray );
I am just using QTcpSocket and I am also checking that the QTcpSocket instance has the connected status before writing.
I am not calling the flush method.
Edit:
I'm using this socket in two threads, one receives data from a server, the other sends data to this server.
Cheers!
I'm sometimes experiencing crashes on this function: qint64 QIODevice::write ( const QByteArray & byteArray );
I am just using QTcpSocket and I am also checking that the QTcpSocket instance has the connected status before writing.
I am not calling the flush method.
Edit:
I'm using this socket in two threads, one receives data from a server, the other sends data to this server.
Cheers!