From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,HK_RANDOM_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7df2baf73b28aa5d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-05 05:45:32 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: eieio@coastalnet.com (ghostie) Newsgroups: comp.lang.ada Subject: Re: socket, pipe Date: 5 Nov 2003 05:45:32 -0800 Organization: http://groups.google.com Message-ID: <56a4b188.0311050545.77dc9cdf@posting.google.com> References: <56a4b188.0311040645.64f825f7@posting.google.com> NNTP-Posting-Host: 155.104.239.16 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1068039932 13373 127.0.0.1 (5 Nov 2003 13:45:32 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 5 Nov 2003 13:45:32 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:2080 Date: 2003-11-05T05:45:32-08:00 List-Id: eieio@coastalnet.com (ghostie) wrote in message news:<56a4b188.0311040645.64f825f7@posting.google.com>... > We want our Ada application, while running, to share a lot of binary > information with a different application, this one written in Matlab. > Each applicaton will produce output data which will be used by the > other application. Both applications will run on Win2K PCs, and they > may or may not be on the same computer. > Thanks for all the help. What I've decided to try is to have one application write a file to disk, and the other application will read the file from the disk. I want the file to be written and closed by the first app before the other app tries to read it. A method I've seen done before for this uses two separate directories; after a file is ready to read, its filename gets placed in a separate directory as a zero-length file. So, if you find a file name in this 2nd directory, you know that same filename is ready for you to read in the 1st directory. So the next thing I'm stuck on is how to do a directory listing from Ada. I guess either calling a system call or if there's actually an Ada call for this, but I need to be able to use the results in order to know what files are in a directory. Thanks again