Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Feb : Indy intercept

www.cryer.info
Managed Newsgroup Archive

Indy intercept

Subject:Indy intercept
Posted by:"Karsten" (..@mail.com)
Date:Fri, 25 Feb 2005 11:44:30

Hi

I have written my own Intercept class from TIdConnectionIntercept, but I
have this problem. In the overriden receive procedure, if I don't return
anything in the in/output buffer, indy assumes the connection is lost.

Sometimes my class needs more data, before it can return anything, so it
stores what it has received in a buffer and waits for more data, in this
case it has to return an empty buffer.

Is there a workaround to this problem?

Replies:

www.cryer.info
Managed Newsgroup Archive