On Feb 28, 2013, at 12:26 PM, Nikola <[email protected]> wrote:
> On Mono for Android, this method does not seem to be available, which is a
> bit strange, since I can see it on github -
> https://github.com/mono/mono/blob/master/mcs/class/System/System.Net/ServicePointManager.cs#L278.
>
Seeing on github doesn't mean it's available. In this case, the issue is that
you're looking at the wrong branch; Xamarin.Android is currently based on mono
2.10, which does not have that method:
https://github.com/mono/mono/blob/mono-2-10/mcs/class/System/System.Net/ServicePointManager.cs
Even if the type/method is present, that doesn't mean it'll be compiled; the
MOBILE, ANDROID, and NET_2_1 #defines are also used to control which types and
members are included.
The ServicePointManager.SetTcpKeepAlive() method should be added when we rebase
our products upon Mono 3.0, which we are doing for Evolve (which will add C#5
async support, among other things.)
- Jon
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid