__del__ pattern?

Peter Hansen peter at engcorp.com
Tue Aug 16 08:03:58 EDT 2005


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... :-)

-Peter



More information about the Python-list mailing list