Article View: borland.public.cppbuilder.nativeapi
Article #7904Re: Controlling Windows service
From: Bob Gonder
Date: Tue, 14 Dec 2004 18:28
Date: Tue, 14 Dec 2004 18:28
24 lines
2563 bytes
2563 bytes
Deepak Mishra wrote: >Some files will be created on the Server machine depending on the transactions happening in the database. These files needed to be FTP'd to some "remote server". > >The service will continuously poll at some specefic directories on our database server machine, to do this FTP to some remote server. Still confusing. Let me see if this is what you are saying.... A service running on a server somewhere, is polling a directory on a database server somewhere. When it finds an interesting file, it sends it to all of the clients. Each client can tell the server that it doesn't want to hear about those new files. When the server has no clients, or no interested clients, it doesn't poll the database server. That's pretty straight-forward. No FTP needed. When a client connects to the server, it indicates interest in new files. When the user clicks "NoUpdates", the client informs the server to suspend updates to itself. The server continues serving files to other clients. The server can simply use CopyFile to forward the data to the client, or can give the client the file info so the client can CopyFile for itself.
Technical Details
Message-ID:
<rbbur018gt22husuna7agpbfessgu0nqs6@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!zen.net.uk!demorgan.zen.co.uk!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<41bd5410$1@newsgroups.borland.com> <41bd87dc$1@newsgroups.borland.com> <41bd993f$1@newsgroups.borland.com> <41bdec9b$3@newsgroups.borland.com> <41beb248$1@newsgroups.borland.com> <41bec2e7$1@newsgroups.borland.com> <41becfcf$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2580bf3649196f02 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Controlling Windows service Date: Tue, 14 Dec 2004 10:28:52 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <rbbur018gt22husuna7agpbfessgu0nqs6@4ax.com> References: <41bd5410$1@newsgroups.borland.com> <41bd87dc$1@newsgroups.borland.com> <41bd993f$1@newsgroups.borland.com> <41bdec9b$3@newsgroups.borland.com> <41beb248$1@newsgroups.borland.com> <41bec2e7$1@newsgroups.borland.com> <41becfcf$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.90.147 X-Trace: newsgroups.borland.com 1103048930 69.69.90.147 (14 Dec 2004 10:28:50 -0800) Lines: 27 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!zen.net.uk!demorgan.zen.co.uk!news2.euro.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail