🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4074

Re: TIdTCP CurrentReadBuffer usage.

#4074
From: Omar Zelaya
Date: Tue, 19 Apr 2005 15:52
11 lines
1395 bytes
> Does anyone know if the above function
> removes the entry from the inputbuffer?

Yes it removes and returns all the data from the indy buffer.

> I want to use a function to determine if there are any data
> incoming but i don't want to remove them from the
> input buffer. will the above function do the job?

You can use CurrentReadBufferSize, to get the current size of the indy read 
buffer.
Technical Details
Message-ID: <42652945@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4263d404@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,605d4735da18a64d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Omar Zelaya" <ozelaya2010@hotmail.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4263d404@newsgroups.borland.com>
Subject: Re: TIdTCP CurrentReadBuffer usage.
Date: Tue, 19 Apr 2005 09:52:29 -0600
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 200.30.163.211
Message-ID: <42652945@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1113925957 200.30.163.211 (19 Apr 2005 08:52:37 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!newsprint.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail