Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : How to check TIdPeerThread.Connection for input characters?
| Subject: | How to check TIdPeerThread.Connection for input characters? |
| Posted by: | "Mark" (mkhuebn..@gmail.com) |
| Date: | 14 Mar 2007 13:59:54 |
Is there any way to check and see if there are any available
characters to be read from a TIdPeerThread.Connection? I don't want
to execute a TIdPeerThread.Connection.ReadChar unless there are
characters left in the input buffer to be read. Does Indy's
TIdPeerThread.Connection.ReadChar wait until there is a character that
can be read from the input buffer or does it return with a null string
if no input data is available? Thanks in advance!
Mark Huebner