Quote Originally Posted by jacek
Maybe you block the event loop? Do you check socket's status in some kind of a loop?
No, i connected the stateChanged() signal to a slot so I can keep track of the state changes.
If I don't call waitForConnected the state remains 1 and never changes.
If i call waitForConnected the connected() signal is emitted and the state changes to 2 and then 3 (connected).