Solved

How can the server side detect when the client connection is abnormity broken?

Posted on 2004-04-28
6
157 Views
Last Modified: 2010-04-05
How can the server side detect when the client connection is abnormity broken?
When client's network droped out, How can the server side detect?
I am try it at evet of onsocketerror, but failed, help me please.I am hurry!
thanks!
0
Comment
Question by:hujunyi
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 25 total points
Comment Utility

   put something when the client disconnect normally. For example when client disconnect, he send <SESSION_END> string.

   when client is dropped without this string received - this is possible network error / client restart/shutdown...
0
 
LVL 5

Assisted Solution

by:Hypoviax
Hypoviax earned 25 total points
Comment Utility
What about the OnClientDisconnect event? When a client disconnects this procedure will be run

regards, Hypoviax
0
 
LVL 5

Expert Comment

by:Hypoviax
Comment Utility
Both Ivanov_G and myself have provided the procedure to which an event will run when a clent fails i.e disconnects. I therefore think a split of points is appropriate

Hypoviax
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now