2013/4/26 Michael Schnell <mschn...@lumino.de>

> On 04/25/2013 06:15 PM, silvioprog wrote:
>
>> Yes, OnDisconnect, it works exactly as you explained. But I also have the
>> OnError event, which is useful when the client is terminated by an error
>> (eg. killing the client via Ctrl+Alt+Del). :)
>>
>
> It might be able to detect a certain kind of errors.
>
> Nonetheless, errors only arise when in fact communication is running. A
> socket stays open forever, if no communication is executed at all, thus a
> broken link in between stays undetected.
>
> To detect a broken link you need to do a regular life check communication.


Pefectly. I'm trying to implement it. :)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to