How can we know if QSocketTCP is connected to server TCP or no?
Thank you in advance
How can we know if QSocketTCP is connected to server TCP or no?
Thank you in advance
If you have called QAbstractSocket::connectToHost() and received a connected() signal (and neither QAbstractSocket::error() nor QAbstractSocket::disconnected() signals) then you are connected.
thank you for your answer
Bookmarks