Re: Check Server Availability
Re: Check Server Availability
- Subject: Re: Check Server Availability
- From: Rhon Fitzwater <email@hidden>
- Date: Tue, 20 Dec 2005 09:29:54 -0500
I actually have done something very similar to what you recommend.
This fixes the things for the auto-update check, but one thing I did
not mention in my previous mail was...
My program also downloads some essential information that without it,
there is not point in finishing execution. If it cannot download
this information from the server, my program should quit. Right now
this works, but there is a long delay before the program quits.
What I would like to do is have some way to do a server availability
check before anything else executes. If the program CANNOT contact
the server the the program will bail out cleanly. If it CAN contact
the server then all proceeds happily.
Any ideas?
Thanks,
-Rhon
On Dec 20, 2005, at 9:18 AM, Christopher Hickman wrote:
I'd just spin the version check off into a command line tool that
just does
the check and writes what it finds into defaults. That way you can
start,
fire off the shell script, and then check on idle or something for
the key
in defaults that tells you the current version.
-----Original Message-----
From: applescript-studio-bounces+tophu=email@hidden
[mailto:applescript-studio-bounces+tophu=email@hidden]
On Behalf
Of Rhon Fitzwater
Sent: Monday, December 19, 2005 10:01 AM
To: AppleScript Studio; AppleScript Users
Subject: Check Server Availability
All,
One of my programs does a version check when it launches. The server
is reads the version file from is not accessible from everywhere (ie.
behind a firewall). If a student is on campus, the program can
access the server without problems. If they are off campus (non
princeton ip address) the program will sit there for a minute trying
to contact the server until it fails.
Does anyone have any ideas on how I can add a server availability
check to the start of my program? I want it to be as fast as
possible. I don't want to have to wait for the version check to fail
before the user can move on.
Any ideas?
Thanks,
-Rhon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
@gmail.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden