🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Ind9 -> Ind10 Conversion Question

#740
From: Remy Lebeau (TeamB)
Date: Wed, 26 Sep 2007 16:55
18 lines
1511 bytes
"Omar Zelaya" <ozelaya2010@hotmail.com> wrote in message
news:46f9bd49@newsgroups.borland.com...

> I'm converting some code from Indy 9 to Indy 10, i use
> CurrentReadBuffer() to wait and retrieve all data available
> from the connection, now on Indy 10 which method or
> methods can i use instead of CurrentReadBuffer() so i
> can get the same functionality?

Call the IOHandler's CheckForDataOnSource() and InputBufferAsString()
methods, ie:

    Connection.IOHandler.CheckForDataOnSource(Timeout);
    Data := Connection.IOHandler.InputBufferAsString;


Gambit
Technical Details
Message-ID: <46fa8f40$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46f9bd49@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3afead73ec6bed04
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <46f9bd49@newsgroups.borland.com>
Subject: Re: Ind9 -> Ind10 Conversion Question
Date: Wed, 26 Sep 2007 09:55:50 -0700
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.29.61
Message-ID: <46fa8f40$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190825792 75.83.29.61 (26 Sep 2007 09:56:32 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail