🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Advice for creating a TCP server component

#5731
From: Remy Lebeau (TeamB)
Date: Sun, 02 May 2004 18:55
14 lines
1472 bytes
"Pere Mateu" <pmateu@ono.com> wrote in message
news:409539d1@newsgroups.borland.com...

> Which way would you choose?

That depends on how much direct access to the socket you want to provide to
the user.  If you want to let the user access the socket directly and do
manual operations on the socket, then derive from TServerSocket.  Otherwise,
wrap the TServerSocket inside another class that doesn't expose the
TServerSocket publically at all.


Gambit
Technical Details
Message-ID: <409545a0$1@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
References: <409539d1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,be0b24a47a895216
X-Google-Thread: 101d59,94e4adb28fd8af74
X-Google-Attributes: gid11508e,gid101d59,public
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.cppbuilder.vcl.components.writing
References: <409539d1@newsgroups.borland.com>
Subject: Re: Advice for creating a TCP server component
Date: Sun, 2 May 2004 11:55:56 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <409545a0$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083524512 67.22.138.253 (2 May 2004 12:01:52 -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