Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jan : Re: how to abort current i/o TidPOP3 operation?

www.cryer.info
Managed Newsgroup Archive

Re: how to abort current i/o TidPOP3 operation?

Subject:Re: how to abort current i/o TidPOP3 operation?
Posted by:"Iliya" (iliya..@list.ru)
Date:Thu, 24 Jan 2008 23:45:50

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message news:47964d28$1@newsgroups.borland.com...
> The only way to end the download, without disconnecting from the server, is
> to throw an exception, such as by calling Abort(), from inside the OnWork...
> event handlers.  Although that will terminate the actual download, doing so
> will leave the remaining message data unread in Indy's InputBuffer and on
> the socket.  You would still have to completely read (and discard) all of
> that remaining data before you can safely issue another command, since the
> message data would be interpretted as the next response data otherwise and
> screw everything up.  So even if you end the download, you still have to
> wait for all of the data to be received anyway.

Does that mean that pop3 standard is incapable of the abort operation?

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive