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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78990 --- shadow/78990 2006-08-07 18:44:29.000000000 -0400 +++ shadow/78990.tmp.18204 2006-08-07 19:09:00.000000000 -0400 @@ -4,18 +4,19 @@ OS: Solaris 8 OS Details: Sparc Status: NEW Resolution: Severity: Unknown Priority: Normal -Component: System +Component: Configuration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: +Cc: [EMAIL PROTECTED],[EMAIL PROTECTED] Summary: DNS Class Fails Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: @@ -308,6 +309,28 @@ 1.1.16.1/mcs/class/System/System.Net.Sockets/Socket.cs:749 at System.Net.Dns..cctor () [0x00000] in /tmp/scratch/mono- 1.1.16.1/mcs/class/System/System.Net/Dns.cs:48 --- End of inner exception stack trace --- + +------- Additional Comments From [EMAIL PROTECTED] 2006-08-07 19:09 ------- +As the stack trace shows, there is nothing to do with the runtime. +When it comes to System.Configuration, what matters here is 1)your +config file 2) how you run your code (from a standalone executable, +web forms, web services, embedded environment etc.). + +The code below works (on my box), so Dns.GetHostEntry() should usually +work. + +using System; +using System.Net; + +public class Test +{ + public static void Main () + { + Dns.GetHostEntry ("127.0.0.1"); + Dns.GetHostEntry ("www.google.com"); + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
