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!!


