Solved

please help me

Posted on 2002-05-08
6
134 Views
Last Modified: 2010-04-04
hello
i have server application,if aclient restarted how can my server know that.???
0
Comment
Question by:shaza
6 Comments
 
LVL 7

Accepted Solution

by:
God_Ares earned 200 total points
ID: 6996149
if you are using the Tcp-Ip procotol you'll get a timeout since the client doesn't respont anymore.

Or if you don't you have to send a message every... x seconds and the client needs to respond in x time. if the client did'nt respont the client is down. this is a commom method of detecting this, since the client will be unable to send a message to you when it's going down when power fails.
0
 

Author Comment

by:shaza
ID: 7004218
hello
thanks for your response ,i use udp\ip protocol and it is not support message delivery .how can i solve this problem.
thanks.
0
 
LVL 7

Expert Comment

by:God_Ares
ID: 7005491
tell me more about what you are sending. drop code too.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 14

Expert Comment

by:AvonWyss
ID: 7029510
God_Ares, I think you should not have posted an answer, since the question is not clear enough to be correctly answered. This way, the question is locked and no longer visible in the open questions pane for other experts.
0
 

Author Comment

by:shaza
ID: 7034998
hi god ares:
i want to send multicast message over udp/ip protocol.this is the first step.the next step i want to do is to send audio message not text message.i face a problem when one of the client restart ,and u tell me how can i face this problem,but u know the udp/ip don't support message delivery.I want to say that the message i send every x second to test the client may not arrive to the client unles the client is not restart.I hope u undrstand my problem and help me to solve it .or u can send to me your e-mail in hotmail .
my e-mail is (shaza_mosa@hotmail.com).
thanks.  
0
 

Expert Comment

by:fire_fly
ID: 7075139
Shaza,

do you mean you want to know if the client is no longer connected, or if it has restarted and is available to be connected to again?  

If you want to know that it has gone down, god_ares's answer should work for you, if it doesn't, reject the answer, so your question is in the unanswered question list again.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Intraweb submit form as a POST request 4 304
Dev Express grid collapse 2 45
When i run adoquery my application freezes 26 166
how to change, disabled button color FMX ? 1 33
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question