You could create a loop that pings the server to determine if it is up.
After a failed ping you could wait for a few seconds and try again. If after
a pre-determined number of attempts all result in failure then exit the
application with an error.

-Samer

-----Original Message-----
From: Nicolas Dufour [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 07, 2005 10:28 AM
To: [email protected]
Subject: is the network server up ...

Hello

Im integrating the start of the network server in a program (vb code) 
and I dunno when the server is up.
So for the moment I let the application wait for 1-5 seconds to be sure 
that derby is up.
But is there a way to know if the server is up ?

Thank you

Nicolas Dufour

Reply via email to