View Single Post
Old 04-30-2006, 01:50 AM   #1 (permalink)
dazz williams
Jade Phoenix
 
Join Date: Apr 2006
Location: Ontario, Canada
Posts: 41
dazz williams is on a distinguished road
Question Inter-Process Communication (IPC) in C++

Hey all,
This is my first post, so "Hello World!" and hopefully I'll be chatting and discussing things with you all more now that I'm registered.
Anyways, I will soon be starting a project (that will run on UNIX) where I'll have 2 processes working together. Basically, the one process will interact with the user and in another window the 2nd process will display the results of the interaction in various ways.
What I want if for process 1 to send little messages to process 2 so that p2 can update the results display. I've thought about pipes and shared memory, but was wondering if any of you could give some advice on what to do about this. I don't really need any super fancy features but I want to be able to communicate an object or message with a few variables inside of it, not just a stream of text like I've seen in some examples. Is this possible?
Thanks in advance,
dazz.

[edited for spelling]

Last edited by dazz williams; 04-30-2006 at 01:59 PM.
dazz williams is offline   Reply With Quote