I do not think sharing data between two application via files is a good, portable and sustainable method. I think it is the worst. If the two application would never collaborate via any network socket are overheaded for the task and two named pipe (fifo with file name) are the right and simplest way.
http://en.wikipedia.org/wiki/Named_pipe http://www2.linuxjournal.com/article/2156 2007/10/23, Dave Van den Eynde <[EMAIL PROTECTED]>: > > Hey, > > Perhaps you should elaborate on the type of "sharing" that you would like to > do? Why not do it the traditional UNIX way? Simply place the data that you > want to share in a file from one application, and read it from another. > > You'll need to consider: > - access permissions > - concurrent access > > When you use sockets you'll have a lot more to consider. > > Dave > > > Paolo Chiarabaglio <[EMAIL PROTECTED]> wrote: > Hi Roberto, > > thanks for your answer but as I've never done something like this I don't > know this tweo methods! Can you please tell me where I can find some > examples or tutorial? > > Thanks, Paolo > > In data 23 ottobre 2007 alle ore 00:05:10, Roberto A. Foglietta > > ha scritto: > > > paolo chiarabaglio wrote: > >> Hi, > >> > >> I have to share data between a software that runs in the background on > >> the fox board and some php applications. > >> Data must go from php to C application and vice-versa. > >> > >> How can I do this easily? > > > > socket or fifo, I think > > > > Cheers, > > Roberto > > > > > > > > Yahoo! Groups Links > > > > > > Cheers, -- /roberto
