Solved

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

Posted on 2004-04-28
6
159 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi selector screen 2 80
Magic Software info 18 132
JAudiorecorder record freezing the app 29 67
I want to use librsync in my Delphi backup application. 3 50
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

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