🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: i need ideas/comments with tclientsocket

#3132
From: Hans Galema
Date: Wed, 02 Nov 2005 09:00
17 lines
1745 bytes
Remy Lebeau (TeamB) wrote:

>>Where is the AnsiString ?
> 
> In Alfred example code:
> 
>     Memo->Lines->Add(AnsiString((char*)Data, DataLength));

That is of lot of hassle compared by sending the terminating
zero of a char buf. Moreover if the sender sends a strings in
a char buf then the receiver likely handles them as such and will
be glad seeing a terminating zero.

As you can see in my first post concerning this zero I never
said that it was needed but that it came in handy.

Hans.
Technical Details
Message-ID: <4368805e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43662baf$1@newsgroups.borland.com> <43667112$1@newsgroups.borland.com> <4366ccd3$1@newsgroups.borland.com> <4366d53d$1@newsgroups.borland.com> <43672d94$1@newsgroups.borland.com> <4367327d@newsgroups.borland.com> <436739a0@newsgroups.borland.com> <4367a249$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: Wed, 02 Nov 2005 10:00:11 +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> <43667112$1@newsgroups.borland.com> <4366ccd3$1@newsgroups.borland.com> <4366d53d$1@newsgroups.borland.com> <43672d94$1@newsgroups.borland.com> <4367327d@newsgroups.borland.com> <436739a0@newsgroups.borland.com> <4367a249$1@newsgroups.borland.com>
In-Reply-To: <4367a249$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: <4368805e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130922078 145.98.201.248 (2 Nov 2005 01:01:18 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail