[Qt-interest] Receive an ASCII string using TcpSocket

Stefanos Antaris santaris at csd.auth.gr
Mon Apr 13 20:51:47 CEST 2009


I can connect to the server.But i can't read any string.I am using the 
fortuneclient example.But in the readFortune() function i use this 
command despite of the QDataStream in(tcpSocket);

[code]
QString text;
text=tcpSocket.readLine();
[/code]



More information about the Qt-interest-old mailing list