[Mono-bugs] [Bug 79886][Nor] Changed - Dns.GetHostEntry fails to resolve IP addresses
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 18 15:28:02 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by benoit at zeroc.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79886
--- shadow/79886 2006-11-13 13:42:02.000000000 -0500
+++ shadow/79886.tmp.27240 2007-05-18 15:28:02.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 79886
Product: Mono: Class Libraries
-Version: 1.1
+Version: 1.2
OS: Mac OS X 10.3
OS Details: Mono 1.2rc0 OS/X 10.4.8
-Status: RESOLVED
-Resolution: DUPLICATE
+Status: REOPENED
+Resolution:
Severity: Unknown
Priority: Normal
Component: System
AssignedTo: mono-bugs at ximian.com
ReportedBy: jwiegley at gmail.com
QAContact: mono-bugs at ximian.com
@@ -88,6 +88,31 @@
------- Additional Comments From dick at ximian.com 2006-11-13 13:42 -------
I'm fairly certain the patch to fix bug 79721 didn't make it into rc0
- if a more recent release still fails then please reopen this bug.
*** This bug has been marked as a duplicate of 79721 ***
+
+------- Additional Comments From benoit at zeroc.com 2007-05-18 15:28 -------
+It still fails for me on Mac OS X 10.4.9 (MacBookPro Intel Core Duo) with mono 1.2.4_4.
+
+The following code:
+---
+using System.Net;
+class Test {
+ static void Main () {
+ System.Net.Dns.GetHostEntry("127.0.0.1");
+ }
+}
+---
+
+Gives the following output:
+---
+macbookpro:~/Devel/src/icecs$ mono Test.exe
+Unhandled Exception: System.Net.Sockets.SocketException: No such host is known
+ at System.Net.Dns.GetHostByAddressFromString (System.String address, Boolean parse)
+[0x00000]
+ at System.Net.Dns.GetHostEntry (System.Net.IPAddress address) [0x00000]
+ at System.Net.Dns.GetHostEntry (System.String hostNameOrAddress) [0x00000]
+ at Test.Main () [0x00000]
+---
+
More information about the mono-bugs
mailing list