[Qt-interest] Receive an ASCII string using TcpSocket

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Tue Apr 14 12:13:43 CEST 2009


Stefanos Antaris wrote on Tuesday, April 14, 2009 12:00 PM:

> ....The QByteArray
> can receive everything?Even if it is not a qt application?

As the class name implies the QByteArray stores bytes - regardless of "who sent them" ;)

How to interpret those bytes is off course up to the application.

Imagine a world where a web browser could only receive bytes as sent by an MS Web Server(tm)(C)(R)... doh!

(Hey, maybe I should make a patent on that... not! ;)

Cheers, Oliver
-- 
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22



More information about the Qt-interest-old mailing list