PDA

View Full Version : reconnect to server QSocketTCP



hassinoss
11th February 2014, 17:27
if the client(QSocketTCP) loses connection with the server, how it can connect? it's necessary to create other instance of QSocketTCP?

THank you in advance.

anda_skoa
11th February 2014, 18:09
No need for a new socket instance, just call connectToHost() again.

Cheers,
_