|
ECS Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Intranet connection problem solved (and perhaps others as well
?) Mark Gilmore Sun, 16 Mar 2003 17:39:07 -0800 |
Sun, 16 Mar 2003 17:39:07 -0800
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
["application/zip" not shown]
:ë`¢)à™¨¥ŠÇ®ØŸ‰çUŠ»¬·ž
œ‘ç[ÈFj{b¾*î²Ì¬µé¡¶Úÿ0‚¸¬¡û\¢`Uê슉úÓŽ}ýX«ºÀÚµ¦Ú±í¹ñ¥y«
«^Ûý¹ÿm4Ü
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects