Re: Normal and abnormal disconnects

Giganews Newsgroups
Subject: Re: Normal and abnormal disconnects
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Wed, 16 Mar 2005

"Khash Sajadi" <kha…@btinternet.com> wrote in message
news:24C8CC7E76C3E240kha…@btinternet.com...

> I noticed that there is a difference in the sequence of events
> between Indy 9 and 10.

That is because Indy 9 used a separate thread for all transfers whereas Indy
10 no longer does that.  Transfers are in the same thread as the commands
now.  So if both connections to a client (command and transfer) are
disconnected while a transfer is in progress, the transfer is always cleaned
up first and the OnDisconnect is triggered in regards to the command
connection, never the transfer connection.

Gambit

Replies

In response to

Normal and abnormal disconnects posted by Khash Sajadi on Wed, 16 Mar 2005