bxc#13642: MacNetworkChange: implement using managed code
authorAaron Bockover <abock@xamarin.com>
Thu, 10 Oct 2013 16:35:02 +0000 (12:35 -0400)
committerAaron Bockover <abock@xamarin.com>
Thu, 10 Oct 2013 16:35:47 +0000 (12:35 -0400)
commitd0756232752057ddf80046f09bef451749d93add
tree81a930a9bd2e7069de19e6665ca41dbd98e4424e
parenta55758d13614755cc875446f5039daa9e725d4f3
bxc#13642: MacNetworkChange: implement using managed code

The previous version used SCNetworkReachability
in C inside libMonoPosixHelper. This was less
than ideal and made it more problematic for
supporting iOS as it doesn't actually link
MPH in.

Rewrite using P/Invokes directly into the
SCNetworkReachability APIs for Mac OS X and
iOS.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=13642
for iOS and Mac OS X.
mcs/class/System/System.Net.NetworkInformation/NetworkChange.cs
support/Makefile.am
support/mac-reachability.c [deleted file]