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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,860efd11d835e2ae X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!blackbush.cw.net!cw.net!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Paus Newsgroups: comp.lang.ada Subject: Re: Communication between Ada and Java through named pipes Date: Sun, 19 Dec 2004 12:12:52 +0100 Organization: 1&1 Internet AG Message-ID: References: NNTP-Posting-Host: p508a91ea.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: online.de 1103454773 23019 80.138.145.234 (19 Dec 2004 11:12:53 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Sun, 19 Dec 2004 11:12:53 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612 X-Accept-Language: en-us, en In-Reply-To: X-Enigmail-Version: 0.76.8.0 X-Enigmail-Supports: pgp-inline, pgp-mime Xref: g2news1.google.com comp.lang.ada:7068 Date: 2004-12-19T12:12:52+01:00 List-Id: Mauro Riva wrote: > I have two applications written in Ada and Java respectively and I want them > to communicate using named pipes but I don't know how to do it. If you do not have the strict requirement to use named pipes I would switch to sockets. That is much better documented, more general, more flexible and is known to work with Ada and Java on almost any platform you can think of. Why would you want to go through the pain getting ancient named pipes to work? > What I need is simply this : the Ada program has to put a text string into > the pipe and the Java program must read the text, and they must do it in a > non blocking way. > I'm using these programs under windows, does anyone know how to do it? Does > anyone have an example of code? > > Thanks, > Mauro > >