🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Advice for creating a TCP server component

#5730
From: Pere Mateu
Date: Sun, 02 May 2004 18:11
15 lines
1318 bytes
Hi,

I want to create a non-visual component that implements an application
protocol that works over TCP. There's basically two ways of doing this:

1) Deriving a component from TComponent with a TServerSocket as one of its
properties.

2) Deriving the component directly from TServerSocket and overriding its
methods.

Which way would you choose?

Thanks very much,
Pere.
Technical Details
Message-ID: <409539d1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,be0b24a47a895216,start
X-Google-Thread: 101d59,94e4adb28fd8af74,start
X-Google-Attributes: gid11508e,gid101d59,public
From: "Pere Mateu" <pmateu@ono.com>
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.cppbuilder.vcl.components.writing
Subject: Advice for creating a TCP server component
Date: Sun, 2 May 2004 20:11:25 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 81.203.225.34
Message-ID: <409539d1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083521489 81.203.225.34 (2 May 2004 11:11:29 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail