[Qt-interest] QTcpSocket receives a string

Thiago Macieira thiago.macieira at trolltech.com
Tue Apr 7 09:34:06 CEST 2009


Em Terça-feira 07 Abril 2009, às 08:28:36, Stefanos Antaris escreveu:
> I just want
> to receive a string of a non qt application.

Your code is using QDataStream. So the other application should be using 
QDataStream too.

If the other application is non-Qt, you have to come up with the protocol 
yourself. That means parsing the data the way the other application sends it.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090407/79689f0b/attachment.bin 


More information about the Qt-interest-old mailing list