[Psi-devel] finding the data transfer port
halr9000 at gmail.com
Sun Jul 17 11:11:04 PDT 2005
After thinking more on this, I don't see why we can't do the automatic
http method of finding the user's IP address.
Just include a section in config
And do a simple random or round-robin. The contents of /ip/ would be
<?php print $_SERVER['REMOTE_ADDR']; ?>
And it would very simply return the IP address. You can use
http://psi.affinix.com/ip/ for testing now if you like.
And then maybe have Psi additionally check once a week for ip.xml on
the server, that way if is decommissioned or a new one brought on we
can handle that. You can even do a conditional GET and save even more
bandwidth on the xml file.
There was some concern about the bandwidth usage last time we talked
about this, but then I realized that I don't pay for psi.affinix.com
or sf.net bandwidth. ;)
This would fix a big usability issue...
Psi webmaster (http://psi-im.org)
im:hal at jabber.rocks.cc
More information about the Psi-devel-affinix.com