I'm using qt 4.7.1 for symbian. I'm having problems when I switch the profile to offline and then back online while my software is running (I'm doing this to test scenarios without network connection).
Scenario goes like this:
- Online profile
- Do network connections => ok
- Switch to offline profile
- Do network connections => fails as expected
- Switch to online profile
- Do network connections => fails when it should work
The error I get in QNetworkReply::errorString() is "Unable to initialize non-blocking socket".
You can find a small test project that recreates this problem here:
Any ideas on how to work around this problem? Also any inside information about wether this is related only to offline profile or if this happens whenever there is no connectivity would be welcome.