SOAP for multiple images on the same host

nop at nop.com nop at nop.com
Fri Mar 1 20:09:38 UTC 2002


On Fri, 1 Mar 2002, Lex Spoon wrote:

> On Fri, Mar 01, 2002 at 12:23:35PM -0500, Stephen Pair wrote:
> > Anthony Hannan wrote:
> > > You use a different port number for every socket you create.  
> > > A machine can have more than one socket connections.  
> > > However, a machine only has one ip address.  
> > 
> > This is not strictly accurate (as I'm sure Anthony is aware)...it's
> > usually the case that a machine has only one ip address, but many
> > machines (and most server machines) have multiple ip addresses.
> 
> Don't forget 127.0.0.1 -- most machines have two addresses, not
> one.  
> 
> Hmm, actually, on most Linux setups, *any* 127.x.y.z address
> gets routed and accepted locally, which means there are 8^3+1
> local addresses.  

The loopback interface is configured like so:

          inet addr:127.0.0.1  Mask:255.0.0.0

The network address is then 127.0.0.0, and broadcast would be
127.255.255.255.  So there are 256^3-2 host addresses.  But most
people ignore the non-.1 addresses.

> Oh, and 0.0.0.0 works, too, at least on Linux....

OK, that one I don't understand why it works....

Jay




More information about the Squeak-dev mailing list