[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: |
Carl-Adam Brengesjo |
Subject: |
[Pnet-developers] [bugs #12168] Cannot retreive the local hostname |
Date: |
Sat, 5 Mar 2005 05:57:39 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; sv-SE; rv:1.7.5) Gecko/20041108 Firefox/1.0 |
Update of bugs #12168 (project dotgnu-pnet):
Summary: Bug in pnet => Cannot retreive the
local hostname
_______________________________________________________
Follow-up Comment #3:
The return value from Dns.GetHostName() shouldn't be NULL, a SocketException
should be thrown. However, that's not the reason why it fails.
Dns.GetHostName() uses an internal call to fetch the hostname, and these C
functions return null in two cases:
1) gethostname isn't defined on your system.
2) gethostname failed. See the man page gethostname(3).
I assume your system has a working glibc with gethostname defined... so is
there an error when calling gethostname?
What does "uname -n" tells you?
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=12168>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Pnet-developers] [bugs #12168] Bug in pnet, Deryk Robosson, 2005/03/03
- [Pnet-developers] [bugs #12168] Bug in pnet, anonymous, 2005/03/03
- [Pnet-developers] [bugs #12168] Bug in pnet, Kirill Kononenko, 2005/03/03
- [Pnet-developers] [bugs #12168] Bug in pnet, Kirill Kononenko, 2005/03/03
- [Pnet-developers] [bugs #12168] Bug in pnet, Kirill Kononenko, 2005/03/04
- [Pnet-developers] [bugs #12168] Bug in pnet, Kirill Kononenko, 2005/03/04
- [Pnet-developers] [bugs #12168] Bug in pnet, Kirill Kononenko, 2005/03/04
- [Pnet-developers] [bugs #12168] Cannot retreive the local hostname,
Carl-Adam Brengesjo <=
- [Pnet-developers] [bugs #12168] Cannot retreive the local hostname, Kirill Kononenko, 2005/03/05
- [Pnet-developers] [bugs #12168] Cannot retreive the local hostname, Klaus Treichel, 2005/03/06
- [Pnet-developers] [bugs #12168] Cannot retreive the local hostname, Kirill Kononenko, 2005/03/06
- [Pnet-developers] [bugs #12168>] Cannot retreive the local hostname, Carl-Adam Brengesjo, 2005/03/06
- [Pnet-developers] [bugs #12168] Cannot retreive the local hostname, anonymous, 2005/03/08