[Mono-bugs] [Bug 456723] System.Net.GetHostByName throwing SocketException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 14 10:33:43 EDT 2010



Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Gonzalo Paniagua Javier <gonzalo at novell.com> 2010-04-14 14:33:41 UTC ---
Just tried on windows:
c:\test>mono --version
Mono JIT compiler version 2.7 (/trunk/mono r155350)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC and Parallel Mark)
        SIGSEGV:       normal
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none
        Misc:          softdebug
        LLVM supported
c:\test>mono dns.exe
using System;
using System.Net;

class Test {
    static void Main ()
        Console.WriteLine (Environment.MachineName);
        Console.WriteLine (Dns.GetHostName ());
        foreach (IPAddress address in Dns.GetHostByName
            Console.WriteLine (address);

        IPHostEntry host = Dns.GetHostEntry (Dns.GetHostName ());
        Console.WriteLine (host);

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list