PDA

View Full Version : How do I keep the client connection open ?



probine
25th March 2006, 18:21
I have a server that listens for incoming connections from clients. The server writes a message to a client (telnet) and after writing the message, the server closes the connection with the client.

I want this connection to be open. The only time the connection should be closed is when the client closes the telnet application.

How do I keep the server connection with the clients open ?

jacek
25th March 2006, 18:53
Connections don't close by themselves. There must be something with your code.

wysota
25th March 2006, 19:06
Double thread (http://www.qtcentre.org/forum/showthread.php?t=1409).