[Mono-dev] patch for bug #9520: Dns.GetHostName() fails in the standard mono 3.0.3 when embedded

Jonathan Shore jonathan.shore at gmail.com
Wed Feb 20 21:27:37 UTC 2013


There has been a bug outstanding in 3.0.3 and in the repository since January that has meant that cannot use either code from the head or the 3.0.3 build (3.0.2 is ok).   The configuration of the Socket class to detect ipv6 support uses the ConfigurationManager class.   In the context of an embedded application, the ConfigurationManager cannot find applcation configuration and throws an exception.   This will cause any Socket related code to fail.

I have not been able to use mono 3.0.3 or code from the repository for a couple of months due to the outstanding issue.    I have added a simple patch to the Socket_2_1.cs implementation.   Can we get this or a similar fix integrated into the codebase.    Thanks

The bug reference + patch:
https://bugzilla.xamarin.com/show_bug.cgi?id=9520


More information about the Mono-devel-list mailing list