Re: Setting up loopback network
Re: Setting up loopback network
- Subject: Re: Setting up loopback network
- From: Peter <email@hidden>
- Date: Mon, 19 Mar 2007 10:00:21 +0800
The java code itself does not use network, however it "links" to
third party libraries (no source code/info to refer), which I believe
it uses or check network. Every time the Ethernet cable is plug-in or
AirPort is turn on, the java program runs perfectly.
I have think of asking my colleague to bring a hub along. Since he is
traveling light, it would be easier not bringing too many items such
as hub acting as a network simulator. The place he goes may not have
network access.
Perhaps loopback network is not what I am looking for, more of a
simulating a network without any hardware (cables/hub).
Thanks.
Peter.
On Mar 19, 2007, at 9:30 AM, Josh Graessley wrote:
The loopback network should already be setup for you.
Run ifconfig, you should see 127.0.0.1 and ::1 on lo0 (the loopback
interface). Maybe your java application should be fixed.
You can always attach a hub to your Mac Book Pro. That will trigger
the mac to get an IPv4LL address.
How does this mystery java app detect if there is a network? Does
it look for more than the loopback address assigned? Does it look
for a default gateway? Does it look for DNS servers? Does it verify
DNS can resolve specific names? Does it attempt to ping a specific
address or name? Does it attempt to connect? What level of network
connectivity is it looking for?
-josh
On Mar 18, 2007, at 6:06 PM, Peter wrote:
Hello all,
I have a java application which will detect the presences of
networking before it will run otherwise it will just quit without
warning. The colleague of mine have just stumble to this problem
because he is suppose to demo the software on his Mac Book Pro
without any network connection.
Is it possible to set up a loopback network for a stand alone Mac
with OS X ? It must to be simple to be install and remove.
Thanks in advance.
Peter.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden