[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #12168] Cannot retreive the local hostname

From: Kirill Kononenko
Subject: [Pnet-developers] [bugs #12168] Cannot retreive the local hostname
Date: Sun, 6 Mar 2005 19:43:29 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

Follow-up Comment #6, bugs #12168 (project dotgnu-pnet):

Command 'gethostname' is not defined in my system. However, there is a
similar 'hostname'. The problem is solved with one of following strings -
'hostname' or 'hostname localhost'. Look below:
127:~/Desktop/bug# hostname debian
127:~/Desktop/bug# ilrun server.out
Uncaught exception: System.Net.Sockets.SocketException: An error occured
while accessing the socket
        at System.Net.Dns.GetHostByName(String) in ./Net/Dns.cs:238
        at System.Net.Dns.Resolve(String) in ./Net/Dns.cs:252
        at Server.Main()

127:~/Desktop/bug# hostname localhost
127:~/Desktop/bug# ilrun server.out
 Current ip address is
Connection in progress.

Although after that, my client doesn't want to connect. But now it seems to
be a problem with my Debian GNU/Linux system configuration and not a pnet


This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]