On Wed, 11 May 2005, Dave Shield wrote:

On Tue, 2005-05-10 at 21:49, Shobana Sampath wrote:

Hmmm.... not sure "0.0.0.0" is a valid IP address.

I thought I could denote the localhost like that

No - localhost is 127.0.0.1

Trivia time. Back in the days of the wooden dollar cent coin, localhost was referred to as 0.0.0.0 . In those days, the network broadcast IP
address had the host part of it all-zero, instead of the all-one that we use today. Then Thatcher came along, the iron curtain fell, and the world in general changed. But you may be surprised how many IP stacks still allow INADDR_ANY in connect(2) and will happily connect to the first local IP address.


Guaranteed to break the ice at parties.

That said, presuming that INADDR_ANY is equivalent to 127.0.0.1 is walking on thin ice, so there won't be much ice to break anyway.

Cheers,

                                -- Bert

--
Bert Driehuis -- [EMAIL PROTECTED] -- +31-20-3116119
If the only tool you've got is an axe, every problem looks like fun!


------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to