[LCP]InterProcess Communication
Hemant Mohan
hemantm at pune.tcs.co.in
Wed Nov 20 12:32:01 UTC 2002
For bidirectional communication you can use open two pipes or FIFOs one for
either direction. It will be something like this
process1 reads from pipe1 and writes to pipe2
process2 reads from pipe2 and writes to pipe1
The read/write flags need to be set accordingly.
You go through Unix Network Programming (Vol II) by Richard Stevens which
deals with various IPCs in detail.
Hemant
On Tuesday 19 November 2002 18:40, linuxcprogramming-admin at lists.linux.org.au
wrote:
> >What you would like to do is probably better done using expect.
>
> i would not like to do it using expect. i would
> like to try bidirectional communication. but i m newbie
> to IPC so would be helpful if anybody commes with a
> decription on how bidirectional communication is done?
> what precautions should be taken?, ...
>
> online docs on bidirectional communication will
> be of great help.
>
> mehul.
>
> __________________________________________________________
> Give your Company an email address like
> ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
> Know more. http://www.rediffmailpro.com/signup/
>
> _______________________________________________
> This is the Linux C Programming List
>
> : http://lists.linux.org.au/listinfo/linuxcprogramming List
More information about the linuxCprogramming
mailing list