Article View: borland.public.cppbuilder.internet.socket
Article #3275Re: i need ideas/comments with tclientsocket
From: Remy Lebeau (TeamB)
Date: Tue, 01 Nov 2005 17:13
Date: Tue, 01 Nov 2005 17:13
17 lines
1679 bytes
1679 bytes
"Hans Galema" <notused@notused.nl> wrote in message
news:436739a0@newsgroups.borland.com...
> Where is the AnsiString ?
In Alfred example code:
Memo->Lines->Add(AnsiString((char*)Data, DataLength));
DataLength ensures that all characters are handled without having to
transmit a null terminator over the socket, and AnsiString always has a null
terminator at the end of its allocated memory (otherwise the char* string
from c_str() would never be terminated).
Gambit
Technical Details
Message-ID:
<4367a249$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!t-online.de!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mailReferences:
<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>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> <4367327d@newsgroups.borland.com> <436739a0@newsgroups.borland.com> Subject: Re: i need ideas/comments with tclientsocket Date: Tue, 1 Nov 2005 09:13:51 -0800 Lines: 19 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: <4367a249$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1130865225 68.69.17.41 (1 Nov 2005 09:13:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed.inode.at!reader.uucp.at!feeder02.uucp.at!newsfeed.uucp.at!news.uucp.at!newsgroups.borland.com!not-for-mail