[Qt-interest] Transferring a QPixmap through QTcpSocket

Thiago Macieira thiago at kde.org
Thu Apr 7 16:33:01 CEST 2011


On Thursday, 7 de April de 2011 15:54:20 Andre Somers wrote:
> 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?

That is correct.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110407/dc16f16f/attachment.bin 


More information about the Qt-interest-old mailing list