🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #8844

Re: Server and Client

#8844
From: JD
Date: Thu, 09 Sep 2004 18:01
72 lines
3410 bytes
Hans Galema <dontusethis@dontusethis.nl> wrote:
>
>> Currently, the only requirements for the server are tracking
>> users as they log on and off and sending and receiving messages
>> to the clients. 

> What is the user of a server ? Clients use servers. Are not clients
>the only users? Please elaborate.

At the moment, I only need the server application to track
clients and send/recieve messages to/from clients.

>> Also, the client could be on a a non-networked system.

>Then the client would be on the same computer as the server!?

Not exactly what I meant. If it's a stand alone PC, the server
application would be running on the same machine as the client
application - same way that InterBase works.

>> What's the 'best' (perhaps fastest/easiest) way to meet minimum
>> requirements?

>Please elaborate first. As the other said already:
>TServerSocket/TClientSocket come to mind. The chat example
>that comes with bcb is a -not to good- start.

>> In the future, some processing may be moved to the server which
>> would involve client data manipulation and fetching and saving
>> data to and from disk.

>Well that can never be a problem. Why would it ? Why would it
>change anything ?

All of the stuff that I was reading .... COM, DCOM, ect. 'If
you want to do this ... use that. If you want to do that ...
use this'.

I couldn't get any direction so I could focus in on any
particular method.

>> There has also been discussion of incorporating dialup and/or
>> internet access in the future. Recommendations?

>TServerSocket/TClientSocket are unaware of dial-up, network or loop-back.
>You do not have to care for that. It's all done for you by the OS.

That's good to know. Makes me wonder why Midas exists though.

>> I also don't understand how the server gets started on the
>> server. Would an install package take care of that or what?

>The possibilities of starting a server are the same as any other app.
>What has installing to do with starting ?

I don't get the process. I get that it (the server portion of
my app) has to be installed on the server (machine) but I don't
understand how and I also don't understand how the server app
gets started.

From your response, I'm guessing that an install writes to the
registry so that the server app is started when the server is
booted. If that's correct, then I'm still confused how the
install would write to the servers registry.

>You see: more questions than answers ;-)

That's my problem, I simply don't know enough to know what to
ask.

~ JD
Technical Details
Message-ID: <41409a61$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <412f395f$1@newsgroups.borland.com> <41406c0e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,eb72ec3a40b04705
X-Google-Attributes: gid10cc67,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: Server and Client
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.201.129.41     
References: <412f395f$1@newsgroups.borland.com> <41406c0e$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41409a61$1@newsgroups.borland.com>
Date: 9 Sep 2004 11:01:05 -0700
X-Trace: newsgroups.borland.com 1094752865 207.105.83.66 (9 Sep 2004 11:01:05 -0700)
Lines: 73
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail