networking - iPhone app gets into a state where network requests never complete -


every often, iphone app gets state network requests time out, if other apps work fine (and can access same sites). isn't correlated changes in network availability, , happens both on 3g , on wifi. suggestions on how diagnose problem?

(fwiw, app uses monotouch , httpwebrequest, suspect whatever's going wrong lower-level.)

note: problem persists through backgrounding app , changing network configuration; fix seems to kill app , re-launch it.

updates: i've tried making use of reachability, no effect. reachability.internetconnectionstatus returns reachableviawifinetwork (or reachableviacarrierdatanetwork, depending; likewise ishostreachable() returns true. runtime.startwwan() seems make no difference.

there bug open @ https://bugzilla.novell.com/show_bug.cgi?id=555439 , there several attempts @ resolving it. of last comment in bug, presumed fixed guess if using monotouch 4.0.3 there cases not worked around.

basically, problem reflected in other stackoverflow question: iphone 3g connection enabling

what monotouch try , work around issue call monotouch.runtime.startwwan(uri) opens dummy connection uri using nsurlconnection force-wake network interface. then, monotouch goes using bsd socket api inside httpwebrequest.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -