From: Eric Hodel Date: 2007-09-10T06:42:17+09:00 Subject: Re: check if server is alive in drb On Aug 28, 2007, at 01:15, Mr_Tibs wrote: > Is there any elegant method for checking if a drb server is still > alive from the client side? > > My server notifies my client when it finished a job through the > observer method. However, it is possible that the server dies (or the > network connection gets broken), and I need to detect this. I > implemented a thread which continously "pings" (calls a simple > remote_obj.ping) and rescues any exceptions in this method call. Is > there a better solution out there? Nope. -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars