[Qt-interest] Receive an ASCII string using TcpSocket
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Mon Apr 13 16:21:38 CEST 2009
Stefanos Antaris schrieb:
> Hello.I have tried to make a qt application that receives a string of a
> non-qt application.I used the fortuneclient example but i found that
> datastream can't be used to receive a string of a non-qt application.So
> i have made a new QString text; and then text->tcpSocket.readLine();.But
> still i can't receive the string.Can anyone help me?I connect to the
> server but i can't receive the string.Thanks in advance.
What exactly does not work? Don't you get text from tcpSocket.readLine()?
How do you try to read from qtcpsocket?
Christian
More information about the Qt-interest-old
mailing list