Hi,
With Qt 4.8 under win32, I'm trying to send data to a tcp server
sck.connectToHost(myip, 7800);
if (sck.waitForConnected(8000)==false)
return -1;
QTcpSocket sck;
sck.connectToHost(myip, 7800);
if (sck.waitForConnected(8000)==false)
return -1;
To copy to clipboard, switch view to plain text mode
Connection works pretty well (I see it on the server)
But now
ret = sck.write("test data sending");
ret = sck.write("test data sending");
To copy to clipboard, switch view to plain text mode
ret returned 17, cool...
But on server side, I received... nothing !?
(If I do the same thing in "pure" C socket, it works !?)
What am I doing wrong ?
Thanks for you help...
Bookmarks