Frank Wunderlich wrote:
You could check a 'last alive' time stamp stored in your client class.
Cleanup the client after a timeout has elapsed. Use a single Timer to
check all clients actually in the list in intervals.
Arno Garrels
> is there a procedure to send something d
> >> You could check a 'last alive' time stamp stored in your client class.
> >> Cleanup the client after a timeout has elapsed. Use a single Timer to
> >> check all clients actually in the list in intervals.
> >>
> >> Arno Garrels
is there a procedure to send something direct to the clients or do
Hello Frank,
> e.g. when the lan-cable is taken out.
> the client detects the disconnect
It will detect when it try to send something, in most cases it will NOT
detect anything. Thats the nature of TCP. As Arno stated you have to
maintain keep alive packets in your protocol if you want to be warn
Frank Wunderlich wrote:
>> You could check a 'last alive' time stamp stored in your client class.
>> Cleanup the client after a timeout has elapsed. Use a single Timer to
>> check all clients actually in the list in intervals.
>>
>> Arno Garrels
>
> sure but how can i check the clients are reacha
> You could check a 'last alive' time stamp stored in your client class.
> Cleanup the client after a timeout has elapsed. Use a single Timer to
> check all clients actually in the list in intervals.
>
> Arno Garrels
sure but how can i check the clients are reachable?
frank
--
Weitersagen: GMX
Frank Wunderlich wrote:
> Hi,
> i've trying to detect when a client is abnormal disconnected from the
> server (calling not the close-procedure). e.g. when the lan-cable is
> taken out. the client detects the disconnect,but the server don't call the
> OnClientDisconnect.
>
> How can i realize that
Hi,
i've trying to detect when a client is abnormal disconnected from the server
(calling not the close-procedure). e.g. when the lan-cable is taken out.
the client detects the disconnect,but the server don't call the
OnClientDisconnect.
How can i realize that?
Greets frank
--
Geschenkt: 3 Mona