Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: Indy Team: About ReadFromSource function in Indy
| Subject: | Re: Indy Team: About ReadFromSource function in Indy |
| Posted by: | "Don Siders" (dside..@charter.net) |
| Date: | Tue, 1 Aug 2006 23:01:53 |
> There is a function ReadFromSource in IdIOHandler.pas, but I can not find
> this function in the help file of Indy. Please tell me more about this
> function, and how to use this function.
It is undocumented because it's a protected method. Only public or
published visibility items are documented in the Indy help files.
It allows IOHandlers to act using the behavior needed for its' underlying
data source (stream, socket, etc.). You do not call it directly... it gets
called when the IOHandler checks the Connected property or calls one of the
Read* methods. Uses values in the ReadTimeout and/or ConnectTimeout
properties to control the IOHandlers' behavior.
hth...