Solved

please help me

Posted on 2002-05-08
6
135 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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