• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

please help me

hello
i have server application,if aclient restarted how can my server know that.???
0
shaza
Asked:
shaza
1 Solution
 
God_AresCommented:
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
 
shazaAuthor Commented:
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
 
God_AresCommented:
tell me more about what you are sending. drop code too.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

 
AvonWyssCommented:
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
 
shazaAuthor Commented:
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
 
fire_flyCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now