🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 'Connecting to' NT Application Service design question

#4172
From: Remy Lebeau (TeamB)
Date: Tue, 29 Mar 2005 02:35
32 lines
2236 bytes
"Daniel Stevenson" <d.stevenson@ocreage.com.au> wrote in message
news:4248a7ea$1@newsgroups.borland.com...

> I want to install the service on a server/pc, then create an application
> that will be used solely for configuring this service so that users don't
> need to edit a raw ini file or registry, it would be preferable if this
> config app can be run remotely as well as locally.

Unless you want to deal with configuring DCOM for remote access, as well as
the OS for user access rights, then using a TCP socket is fine.

> This service also pumps data into a database, so I don't need to
> obtain data directly from the service as the Data Display application
> talks directly to the database to get all it's data for users to filter
and
> manipulate.

Since the client already has direct access to the database, how about
storing the configuration in a database instead of a file?  Then the client
can configure the service by editing the database and not communicate with
the service at all.

> should I have my Data Display application talking directly to the service
> for the data or is it ok to have it talking directly to the database where
the
> data is being stored?

Does not matter either way.  That is completely up to you.


Gambit
Technical Details
Message-ID: <4248beb7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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: <42489956@newsgroups.borland.com> <4248a0b1$1@newsgroups.borland.com> <4248a7ea$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fcd1a7611ad1650d
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <42489956@newsgroups.borland.com> <4248a0b1$1@newsgroups.borland.com> <4248a7ea$1@newsgroups.borland.com>
Subject: Re: 'Connecting to' NT Application Service design question
Date: Mon, 28 Mar 2005 18:35:53 -0800
Lines: 34
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4248beb7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112063671 68.69.17.41 (28 Mar 2005 18:34:31 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail