Article View: borland.public.cppbuilder.internet.socket
Article #1471TCP Client/Server Component Help in BCB 2006...
From: Carl Danley
Date: Thu, 25 Jan 2007 23:53
Date: Thu, 25 Jan 2007 23:53
13 lines
1762 bytes
1762 bytes
Hey guys, Just a few quick questions... I am looking to write a simple chat program that uses a TCP/IP connection... I have created a fully working chat app known as Vortex 2.0 in BCB 4.0 that uses the standard TCPIP Client / TCPIP Server components... The way I sent text from client to server was by using the SendText() function... 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... Can someone help to understand the proper edicate on how to send a simple string to the tcp server... Some sample code will help... I am guessing that I have to use Sendln() or something but I have experimented and have had no luck yet... Thank you for your time! -Carl-
Technical Details
Message-ID:
<45b942b8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,631535e53048c57d,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Carl Danley" <cdanley@codebyter.com> From: "Carl Danley" <cdanley@codebyter.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: TCP Client/Server Component Help in BCB 2006... Date: Thu, 25 Jan 2007 18:53:09 -0500 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 68.233.59.189 Message-ID: <45b942b8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1169769144 68.233.59.189 (25 Jan 2007 15:52:24 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail