[1456] in java-interest
NetworkServer, Windows 95, and loopback
daemon@ATHENA.MIT.EDU (Andrew Gilmartin)
Mon Sep 4 00:30:37 1995
Date: Sun, 03 Sep 95 21:32:22 -0400
From: Andrew Gilmartin <ajg@brainiac.com>
To: java-interest@java.sun.com, ajg@brainiac.com
Has anyone been able to get the NetworkServer class to work on
a Windows95 machine that is not connected to the network? When
I activate my dial-up connection all (or at least my limited
work so far) works well. When not connect it raises an
UnknownHostException.
Looking at the NetworkServer code I can see that when the
server starts it gets it own IP address by asking for the
address of the localhost's name. When I am not connected to the
net my machines name can not be resolved.
Editing this code to use the loopback address 127.0.0.1 causes
the server to forever wait for its port to open.
I think the problem is that I need a TCP/IP loopback network
adaptor for Windows95 (much as I used to have with Windows NT).
Unfortunatly, this is where I get out of my depth.
Anyone have a solution, or perhaps a suggestion? Thanks.
-- Andrew Gilmartin (ajg@brainiac.com)
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com