19 May
2011
19 May
'11
8:33 a.m.
Switch "airplane mode" off and on does not establish a "3G connection".
You may active a PDP context before call tcp::resolver::query(connect internet).. <...> Maybe iOS active a PDP context for you when you first use the TCP protocol, so You will wait and re-try.
Oh, I see... Actually, I found out that it's not a matter of connection attempts - even if I do nothing but wait about a minute, and then try to resolve, it succeeds immediately. So the iPad probably sets-up PDP context automatically, but it takes some time. The only question now is why the browser is able to connect faster than my app.