Client-Server: Exchange data
I'm doubt with this question. After the server response for the client, I need to close the connection?? But, if the same client will send an other request, the new connection must be stabilized??
It depends on the protocol you use. Some need a permanent connection, some don't and some of the latter gain some speed on a permanent connection because the handshake overhead (and maybe login) is saved.
You have to decide yourself.
[Moving this to the lounge as it's not Qt related]
I have used Tcp (QTcpServer and QTcpSocket) in the problem related "here":http://developer.qt.nokia.com/forums/viewthread/6281.
My server don't receive a second request which the client sent.