ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
RE: [ecs] Intranet connection problem solved (and perhaps others as well ?)
Surplushunter
Sun, 16 Mar 2003 20:33:25 -0600

 Sun, 16 Mar 2003 20:33:25 -0600
Hi Mark -

Yep, that fixed it - works fine here!!

I'll have a demo box running in a couple of days,

Leland

Leland Helgerson, surplushunter on eBay
<http://members.ebay.com/aboutme/surplushunter/> 
Surplushunter: Parts is Parts!!
Remember, if the women don't find you handsome, they should at least find
you handy!!  - Red Green
 
                                                


-----Original Message-----
From: Mark Gilmore [mailto:mark@markgilmore.net] 
Sent: Sunday, March 16, 2003 7:39 PM
To: ecs@netbloc.com
Subject: [ecs] Intranet connection problem solved (and perhaps others as
well ?)


Ingo's comment regarding getHostName() led me to look for such a call in my 
code.
But I found none.
I then inserted multiple "trace" lines to see where the crash was actually 
happening,
which led me to THIS line (whose purpose is only to log some info):
         print("connect:my  ip-0=" + cd ccmd.getLocalAddress() + ":" + 
cd ccmd.getLocalPort());
'tis getLocalAddress() that is causing the crash.
What does it do ?:
         "Gets the local address to which the socket is bound." Well, hells
bells - I should have known better :-) (sarc). I really hate to whine, but
JAVA is the "mushiest jungle of an environment" that I have ever dealt with
(by leap and bounds). You make calls to things like "getImage(url)". But it
returns immediately, and really doesn't "get" anything. You call repaint()
to display an image, and it takes a master of the black arts to determine
when the damn thing has actually been painted. I'm sorry for the tantrum,
but it sometimes helps to "vent", and I REALLY don't like JAVA !!

CORRECTED ui.jar attached (zipped).
Please unzip in \ECS and re-start I.E.

INGO:
Thanks for the tip, but my calls seem fine now.
But I always save your emails for reference :-).

Mark Gilmore
http://OmnipotenceSoftware.com 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.