On Tue, 16 Aug 2005 08:03:58 -0400, Peter Hansen <[EMAIL PROTECTED]> wrote: > Tom Anderson wrote: >> On Mon, 15 Aug 2005, Peter Hansen wrote: >>> Using '' instead of 'localhost' means bind to *all* interfaces, not >>> just the loopback one. >> >> Doesn't '' mean 'bind to the *default* interface'? > > What does "default" mean, and is that definition in conflict with what I > said? > > The docs say it means INADDR_ANY. They don't say what that means, so > you'd have to read up on the C socket calls to learn more. > > Or some helpful soul will clarify for the class... :-)
INADDR_ANY means "every network interface you can find". This includes the local loopback and all physical and logical network interfaces. /Jorgen -- // Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu \X/ algonet.se> R'lyeh wgah'nagl fhtagn! -- http://mail.python.org/mailman/listinfo/python-list