🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TServerSocket v/s Indy

#5274
From: JD
Date: Thu, 16 Sep 2004 15:03
39 lines
2100 bytes
"Remy Lebeau [TeamB]" <gambit47_no_spam@yahoo_no_spam.com> wrote:
>
>"JD" <nospam@nospam.com> wrote:
>
>> I need to write a simple Client/Server application
>> where the client can accept messages initiated by
>> the server and send a message to the server that
>> requires a response from the server.
>
>What kind of messages exactly?

I know what I need but I don't know enough about how things
work to answer that question. All I want to do (at this point)
is prevent multiple clients from writing to the database at
the same time (which I know I don't *need* a server for) and
to use the server to notify (other) clients that the database
has changed.

There are other design considerations like distributed
processing and dial-up/web-based access but they're for
the future.

What kind of messages should I use?

>> Should I be looking at TServerSocket or Indy for this?
>
> [...] Either one can be used.

That's what I've been able to gather.

> The real question us - how much work are you willing to do yourself, 

Well, I hate to do more than I have to but in this case I've
decided against Indy because I need to learn and Indy will
make too much of it transparent to me. If it (the server) were
more complicated ... but it isn't.

~ JD
Technical Details
Message-ID: <4149ab54$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41415d94$1@newsgroups.borland.com> <41491592$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a7601bf51960fa65
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: TServerSocket v/s Indy
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 172.156.216.124     
References:  <41415d94$1@newsgroups.borland.com> <41491592$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4149ab54$1@newsgroups.borland.com>
Date: 16 Sep 2004 08:03:48 -0700
X-Trace: newsgroups.borland.com 1095347028 207.105.83.66 (16 Sep 2004 08:03:48 -0700)
Lines: 40
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail