Hmm. I'll try throwing a reachability check in in the event of a network
timeout and see if that makes a difference -- thanks.

On Wed, Jul 6, 2011 at 1:15 AM, Nic Wise <[email protected]> wrote:

> There was something a while back about the .NET network controls (eg
> WebClient) using sockets, not the NSxxxx versions. the NS ones trip a
> timer, which keeps the network open, otherwise it times out.
>
> Have a look on monotouch.net or github for the reachability stuff - I
> think thats uses the NS stuff to work out if the remote network is
> available. That should keep it alive.
>
> In most circumstances, timeouts are good.
>
> On Wed, Jul 6, 2011 at 01:25, David Moles <[email protected]>
> wrote:
> > It looks like if you let the phone sit for a while (ca. 10 minutes?), it
> > eventually straightens itself out.
> >
> > On Tue, Jul 5, 2011 at 5:14 PM, David Moles <[email protected]>
> > wrote:
> >>
> >> Every so often, my app gets into a state where network requests always
> >> time out, even if other apps work fine (and can even access the same
> sites).
> >> This isn't obviously correlated with changes in network availability,
> and
> >> happens both on 3G and over WiFi. The hang persists through
> backgrounding
> >> the app and changing the network configuration; the only fix seems to be
> to
> >> kill the app and re-launch it.
> >> Any suggestions on how to diagnose the problem? Or any tricks other
> >> than Runtime.StartWWAN() -- which doesn't do anything -- to try to kick
> the
> >> network back to life?
> >> I'm using HttpWebRequest, but I suspect the problem is lower-level.
> >>
> >> --
> >> David Moles
> >> [email protected]
> >
> >
> >
> > --
> > David Moles
> > [email protected]
> >
> > _______________________________________________
> > MonoTouch mailing list
> > [email protected]
> > http://lists.ximian.com/mailman/listinfo/monotouch
> >
> >
>
>
>
> --
> Nic Wise
> t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
> b. http://www.fastchicken.co.nz/
>
> mobileAgent (for FreeAgent): get your accounts in your pocket.
> http://goo.gl/IuBU
> Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
> London Bike App: Find the nearest Boris Bike, and get riding!
> http://goo.gl/Icp2
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
David Moles
[email protected]
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to