🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: i need ideas/comments with tclientsocket

#3268
From: Remy Lebeau (TeamB)
Date: Tue, 01 Nov 2005 09:16
17 lines
1540 bytes
"Hans Galema" <notused@notused.nl> wrote in message
news:43672d94$1@newsgroups.borland.com...

> The +1 cares for sending of the terminating zero.

Sending the null terminator is unnecessary in the code bing discussed.
Sending the length is sufficient.

> This comes in quite handy on the receiving side where
> the string is then zero teminated also.

The string is already null terminated automatically when the AnsiString is
allocated.


Gambit
Technical Details
Message-ID: <4367327d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!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> <43667112$1@newsgroups.borland.com> <4366ccd3$1@newsgroups.borland.com> <4366d53d$1@newsgroups.borland.com> <43672d94$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
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
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>
Subject: Re: i need ideas/comments  with tclientsocket
Date: Tue, 1 Nov 2005 01:16:49 -0800
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: 68.69.17.41
Message-ID: <4367327d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130836605 68.69.17.41 (1 Nov 2005 01:16:45 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail