Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: INDY 10 and timeouts

www.cryer.info
Managed Newsgroup Archive

Re: INDY 10 and timeouts

Subject:Re: INDY 10 and timeouts
Posted by:"David Hooker" (david.d.hook..@gmail.com)
Date:7 Jun 2006 20:10:03

David Hooker wrote:

> Connection.IOHandler.ReadBytes (100, 2000) and receive either 100
> bytes; if they haven't arrived within 2000ms (or if the socket closes)
> I should receive an exception.  Perhaps I have missed it, (and you can
> tell me to RTF*), but how would I achieve that?


property Connection.IOHandler.ReadTimeout   *slaps forehead*


Still interested in if it is possible to do an intercharacter timeout
without reading character-by-character?

Mea Culpa and Muchas Gracias,
David Hooker

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive