🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TCP Client/Server Component Help in BCB 2006...

#1472
From: Remy Lebeau (TeamB)
Date: Fri, 26 Jan 2007 00:56
19 lines
1715 bytes
"Carl Danley" <cdanley@codebyter.com> wrote in message
news:45b942b8$1@newsgroups.borland.com...

> But, I have recently upgraded to BCB 2006 that came with my BDS 2006
> package and I am trying to figure out how to "SendText()" with the
> Internet Component, "TCPClient and TCPServer" components...

You would have to use SendBuf() or Sendln() instead.  For Sendln(),
you can set the eol parameter to an empty string.

In any case, those components are very badly written anyway.  I
strongly advise you to not use them at all.  The original
TClientSocket and TServerSocket component still exist in BDS 2006.
They are simply not installed by default anymore.  Install the
dclsocket100.bpl package into the IDE to get them back.


Gambit
Technical Details
Message-ID: <45b9519b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45b942b8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,631535e53048c57d
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: <45b942b8$1@newsgroups.borland.com>
Subject: Re: TCP Client/Server Component Help in BCB 2006...
Date: Thu, 25 Jan 2007 16:56:23 -0800
Lines: 21
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.34.171
Message-ID: <45b9519b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1169772955 75.83.34.171 (25 Jan 2007 16:55:55 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail