System V IPC?

Discuss Programming

System V IPC?

Postby Tux » Mon Jun 21, 2004 11:58 am

Hi Guys,

I'm looking to start a little project soon and I am going to have a GUI frontend for it and the backend that does the work.
Now my problem here is how to have the two communicate and with quite alot of head scratching I have decided that the shared memory features of Sys V IPC are the best way for me to achieve this. Unfortunately I havn't reallly been able to get to grips with how to do the code. So what i'm going to ask (and I feel this is alot) is if one of you could write me an example of how to implement this very simply.
I was thinking it would be best if you could sow me how to pass/share a string between two applications?

I would be able to kind of read an example in most major languages but i'm going to write this thing in C, so that would be the best if it's not too much trouble.
PS. It's for Linux, no commercial UNIX gubbins. :)

Thirty metric tonnes of thanks in advance!!
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am

Postby Void Main » Mon Jun 21, 2004 8:01 pm

User avatar
Void Main
Site Admin
Site Admin
 
Posts: 5705
Joined: Wed Jan 08, 2003 5:24 am
Location: Tuxville, USA

Postby Tux » Fri Jun 25, 2004 3:30 am

Thankyou void, this looks just right!
Sorry about the slow reply, i've been away without internet :( (as you may have guessed)
Tux
guru
guru
 
Posts: 689
Joined: Wed Jan 08, 2003 10:40 am


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests