comp.lang.ada
 help / color / mirror / Atom feed
From: Freejack <freejack@nowhere.net>
Subject: Re: Communication between Ada and Java through named pipes
Date: Sat, 18 Dec 2004 18:26:46 GMT
Date: 2004-12-18T18:26:46+00:00	[thread overview]
Message-ID: <pan.2004.12.18.13.35.51.395097@nowhere.net> (raw)
In-Reply-To: JvUwd.533856$35.22604812@news4.tin.it

On Sat, 18 Dec 2004 11:28:41 +0000, 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.
> 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

If you're using the GNAT compiler, look under section 8.5.2 of the GNAT
Reference Manual. That explains how to handle pipes. In fact, read the
whole section 8. Gives a lot of details on handling special files and
devices.

Freejack




  reply	other threads:[~2004-12-18 18:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-18 11:28 Communication between Ada and Java through named pipes Mauro Riva
2004-12-18 18:26 ` Freejack [this message]
2004-12-19 11:12 ` Michael Paus
2004-12-19 16:43   ` Adrien Plisson
2004-12-19 18:18     ` u_int32_t
2004-12-19 21:36       ` Adrien Plisson
2004-12-19 21:38     ` Brian May
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox