Article View: borland.public.cppbuilder.nativeapi
Article #13389Re: Multiple Threads & One Text File
From: Remy Lebeau (TeamB)
Date: Wed, 15 Oct 2003 04:54
Date: Wed, 15 Oct 2003 04:54
19 lines
1818 bytes
1818 bytes
"Dennis Jones" <djones@nospam.com> wrote in message news:3f8cc993$1@newsgroups.borland.com... > It's funny this thread was posted, because I need to do > something similar, only I will have multiple PC's running > the same application that need to synchonize access to > a log file on a shared network drive. Any suggestions > as to how that might be accomplished? Use a Client/Server model. Create a server program to run on the machine hosting the physical file, then have the application that is running on the other PCs each make a client connection to the server and submit their data for logging. The server can then synchronize access to the file across the client connections as needed. Depending on theOSs involved, you can use RPC, DCOM, TCP/IP, named piped, etc for the model. Gambit
Technical Details
Message-ID:
<3f8cd2c3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f88f22a@newsgroups.borland.com> <3f890078$1@newsgroups.borland.com> <3f8cc993$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2cf03e35cbac1db7 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-14 22:09:03 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f88f22a@newsgroups.borland.com> <3f890078$1@newsgroups.borland.com> <3f8cc993$1@newsgroups.borland.com> Subject: Re: Multiple Threads & One Text File Date: Tue, 14 Oct 2003 21:54:42 -0700 Lines: 21 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.137.75 Message-ID: <3f8cd2c3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066193603 67.22.137.75 (14 Oct 2003 21:53:23 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail