[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


http://bugzilla.novell.com/show_bug.cgi?id=456723

http://bugzilla.novell.com/show_bug.cgi?id=456723#c5


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
GONZALO-PC
Gonzalo-PC
10.0.2.15
System.Net.IPHostEntry
------------------
dns.cs:
using System;
using System.Net;

class Test {
    static void Main ()
    {
        Console.WriteLine (Environment.MachineName);
        Console.WriteLine (Dns.GetHostName ());
        foreach (IPAddress address in Dns.GetHostByName
(Environment.MachineName).AddressList)
            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