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: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Wed, 2 Aug 2006 09:58:53 |
"David" <pangtat2000@yahoo.com.cn> wrote in message
news:44d00afd@newsgroups.borland.com...
> There is a function ReadFromSource in IdIOHandler.pas, but
> I can not find this function in the help file of Indy.
As Don said, it is because that method is protected, not public.
> Please tell me more about this function
That is the only function that directly accesses the socket, reading data
into the InputBuffer property. All of Indy's other reading methods call
ReadFromSource() when they need more data than is currently available in the
InputBuffer.
> and how to use this function.
Under most circumstances, you should not be using it at all. It is for
Indy's internal use. What exactly are you trying to accomplish?
Gambit
none