dotgnu-pnet
[Top][All Lists]
Advanced

[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 127.0.0.1' 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
127.0.0.1
 Current ip address is 127.0.0.1
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
one.



    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12168>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



reply via email to

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