On Wed, 12 Apr 2000, hal at finney.org wrote:
<snip> 
> My node has two addresses: 207.71.226.132:19114 and 127.0.0.1:19114.
> I'm worried that the code would not recognize that these two are the same.

AFAIK this should not happen, because the both addresses are read off the
connection. So if you connect locally, it will use the lo interface, which will
return either 127.. or localhost for both the foreign and local address.
Whether it will work out with the port is a different question. 

The reading from the connection is the reason why it takes the clumsy route of
opening the connection first, and then checking. If the node were totally self
aware, it could check itself.

 >  > Hal
> 
> _______________________________________________
> Freenet-dev mailing list
> Freenet-dev at lists.sourceforge.net
> http://lists.sourceforge.net/mailman/listinfo/freenet-dev
-- 

Oskar Sandberg

md98-osa at nada.kth.se

#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to