posted 19 years ago
u can have ur client code in a loop within try & catch blocks.
when ur server will be down, there will be an exception in client code & control will go to catch block. There u write code to continue in the loop. Hence ur client prog. will not terminate there & u can achieve ur goal.
Tell me if it works or not