sockets, gethostname() changing

Alex Martelli aleax at mac.com
Fri May 25 10:41:02 EDT 2007


<half.italian at gmail.com> wrote:
   ...
> > and I'm not connected to the internet and I run the program, I get:
> >
> > my-names-computer.local
> >
> > When I'm connected to the internet, I get:
> >
> > dialup-9.999.999.999.dial9.xxxxxxx.level9.net
> 
> That would bug me to high hell.  A router in the middle would probably
> stop that.

Looks like a DHCP configuration issue to me; one might try the remedies
suggested at
<http://www.macosxhints.com/article.php?story=20001224021638403>.


Alex



More information about the Python-list mailing list