[Qt-interest] Transferring a QPixmap through QTcpSocket

Andre Somers andre at familiesomers.nl
Thu Apr 7 15:54:20 CEST 2011


Op Do, 7 april, 2011 3:28 pm, schreef Thiago Macieira:

> Given that the OP was closing the socket just after writing the pixmap
> data,
> then sending the length in advance is unnecessary. Conclusion:

Is it? If you use that, wouldn't you need to check on the receiving end
that it was actually the user closing the socket, an not the network
connection failing or something like that?

/me is trying to learn something here...

André





More information about the Qt-interest-old mailing list