Hello qtcentre community,
with QTcpSocket I'm connecting to an irc server and i get a response, so far so good.
Sometimes the reponse is cut off in the middle and the string looks like this:
:asimov.freenode.net 372 Rosi :- By connecting to freenode you indicate that you have read
:asimov.freenode.net 372 Rosi :- and agree to adhere to our po // this aint the end of the message!
:asimov.freenode.net 372 Rosi :- By connecting to freenode you indicate that you have read
:asimov.freenode.net 372 Rosi :- and agree to adhere to our po // this aint the end of the message!
To copy to clipboard, switch view to plain text mode
And at the next call of readyRead() I receive the rest:
licies and procedures as per
:asimov.freenode.net 372 Rosi :- the website (http://freenode.net). We would like to remind
licies and procedures as per
:asimov.freenode.net 372 Rosi :- the website (http://freenode.net). We would like to remind
To copy to clipboard, switch view to plain text mode
Is there a way to force the socket to read the whole message to the end?
Or a way to concat these strings, that they make sense?
Thank you.
Bookmarks