Re: File never closed on broken connection

Giganews Newsgroups
Subject: Re: File never closed on broken connection
Posted by:  Tomasz B (t.berg.REMO…@slican.pl)
Date: Tue, 09 Sep 2008

Johan Nilsson pisze:
> Hello,
>
> I'm trying to solve a problem I recently found.
>
> Is there a way to handle these abnormal disconnections?
> Is there any TimeOut-property?

I'm not sure but check this:

idFTPServert->OnConnect event has a TIdContext *AThread property

and going deeper U can find AThread->Connection->Socket->ReadTimeout
(but U should test how/if it works)

--
Best regard
Tomasz Berg

Replies

None

In response to

File never closed on broken connection posted by Johan Nilsson on Tue, 9 Sep 2008