This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author olson
Recipients
Date 2002-09-27.12:32:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
On windows, socket.getfqdn() doesn't return a fully qualified 
name. Further, it returns the NETBIOS name (I think they call it 
that) of the computer, not a name that's useful for 
networking:

C:\>\Python22\python.exe
Python 
2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more 
information.
>>> import socket
>>> 
socket.getfqdn()
'lorax'

Python 2.2.1 (from 
python.org), Windows 2000.

--bob
History
Date User Action Args
2007-08-23 14:05:59adminlinkissue615472 messages
2007-08-23 14:05:59admincreate