java.net.InetAddress

Michael Koch konqueror@gmx.de
Sat Jun 21 11:07:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Samstag, 21. Juni 2003 14:31 schrieb Erik Poupaert:
> 127.0.0.1	linuxpresario.mydomain.com	linuxpresario

This line is surely be wrong. It should read like follows:
192.168.0.2 linuxpresario.mydomain.com linuxpresario
> On the other side, however, I get my ip address through dhcpcd
> (from an ancient win98 machine that has two network interfaces with
> internet connection sharing, and is historically my gateway to the
> internet. Still haven't had time to install linux on this ancient
> machine and configure iptables to replace this setting ... By the
> way, iptables is really not for the weak of heart ...)
>> If I have to rely on /etc/hosts to be configured correctly for this
> piece of source to work properly on both windows and linux... Then,
> this piece of source may work on the one half of the machines and
> fail on the other. It's very easy to completely swamp the client's
> support resources with this kind of tasks (4 people); then, they
> will start clamouring again for additional staff (at California
> salary rates), and next, the client will take it out on me... Been
> there, done that.
>> Lastly, even though I'm developing and testing on lin32, the
> deployment target on the client side is win32; and my win2k test
> laptop also returns "127.0.0.1". I can't depend on any such local
> file to be configured properly for the software to work properly.
> It has to work properly, regardless; or else I shouldn't deploy.

We can only imitate JRE behaviour, not guess what the user/developer 
of the software means. I've found no library for mind-reading on the 
web yet. Perhaps some day ...
For the Win32 port we have to wait for Mohan. He does this port. And 
if he says SUNs JRE behaves the same as our implementation I'm okay 
with it. I think some parts are still missing in the Win32 port.
If you dont wanna "depend on any such local file to be configured 
properly for the software to work properly" you dont may use this 
features and implement it yourself.
It would be great if you could test your application with SUNs latest 
JRE to look what it does.
Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+9D1VWSOgCCdjSDsRAj7IAKCFH/Mzk+6VdJZMEKZ9zNkQ6wUZGgCgjhHf
vN5xcTDcTVs+PeP+6KAiYag=
=1tcs
-----END PGP SIGNATURE-----


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /