How to implement piping between applications in Linux?

Status
Not open for further replies.

machmochy

Newbie level 4
Joined
Feb 10, 2005
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Egypt
Activity points
63
Piping in Linux

Hi there
I've searched in google about how to implement piping between applications using Java on Linux-based systems..But it wasn't helpful.
So any Tutorials or books to help me about piping in Linux
Thanks
 

Re: Piping in Linux

I'm not very clear about your question. Here is what i know :

Java is multi-platform. If you know who to do "piping between applications using Java " in other OS, you know how to do it in linux.


In a linux term ( csh, sh, ...) , pipeling is done by '|'.
 

Re: Piping in Linux

Sorry,may be i was not clear at first
but what i'm asking is how two separate programs can share data(send & receive data) to each other using the concept of piping
this is different from how to use pipes that already exist in Linux console, it's how to implement those pipes form scratch
and make two processes talk to each other.
It's like having two separate chat programs running on the same PC, when you type a word in one window it appears on the other one.
The two application must have shared memory space to send and receive data, and that is the Pipe.
Piping concept in Linux is different form it in Windows, and can be implemented by any other language rather than Java
But i'll use Java.
It's a project in operating system course
I hope I'm clear now..
 

Re: Piping in Linux

Hi there
here is a link about Unix Multi-Process Programming and Inter-Process Communications (IPC) i found it and it helped alot

**broken link removed**
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…