🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: i need ideas/comments with tclientsocket

#3271
From: Hans Galema
Date: Tue, 01 Nov 2005 09:44
17 lines
1815 bytes
Remy Lebeau (TeamB) wrote:

> ... You don't
> need to check whether the (Position + receivelength) will exceed the current
> Size. 

Well I have to. But you did not know why because I did not tell the
whole story. I never size the stream down. It's Size will only grow
(when needed). Size just adjusts to the biggest message received.

 > You cannot use the '+=' operator with properties, it doesn't work
> correctly.

I would believe that. And I know the reason why. But then += works
correct here. Anyhow I changed the code.

Hans.
Technical Details
Message-ID: <4367395a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43662baf$1@newsgroups.borland.com> <43664511@newsgroups.borland.com> <4366672a$1@newsgroups.borland.com> <43668460@newsgroups.borland.com> <4366d220$1@newsgroups.borland.com> <43672a80$1@newsgroups.borland.com> <43673233$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5c33b8c6a9ca7fdb
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 01 Nov 2005 10:44:52 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: i need ideas/comments  with tclientsocket
References: <43662baf$1@newsgroups.borland.com> <43664511@newsgroups.borland.com> <4366672a$1@newsgroups.borland.com> <43668460@newsgroups.borland.com> <4366d220$1@newsgroups.borland.com> <43672a80$1@newsgroups.borland.com> <43673233$1@newsgroups.borland.com>
In-Reply-To: <43673233$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <4367395a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130838362 145.98.201.248 (1 Nov 2005 01:46:02 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail