Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2004-04-28
6
160 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
ID: 10946629

   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
ID: 10955298
What about the OnClientDisconnect event? When a client disconnects this procedure will be run

regards, Hypoviax
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 13189988
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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