Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indy characters in buffer ?

Status
Not open for further replies.

Tremorblue

Programmer
Apr 30, 2004
56
0
0
GB
Hi,

I am using the enterprise version of C++ Builder 6.0.
It comes with Indy 8.0.25.
I want to look at the receive buffer and see if there are characters waiting. If there are then I read them off one at a time i.e IdTCPClient1->ReadBuffer(cChar,1);
Can't see how to tell if the buffer is empty or not.

Doesnt matter as much but its the same with the send buffer, I cant tell when its finished sending.

Any help much appreciated.

/Tremor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top