Hello, I've done this with a little socket-server and client. I used this tutorial : http://www.cs.rpi.edu/courses/sysprog/sockets/sock.html It's a very basic socketserver but it explain the basics, so you can easily extend it.
Eddy On Tue, 2007-10-23 at 15:22 +0200, Paolo Chiarabaglio wrote: > Hi Dave, > > this is exactly what I have to do. > I want to make a backgroud 'task' that communicates on CAN BUS with some > other boards and gets data from them and can also send data to them. I > then need to have a php application that can get access to that data to > show and eventually modify it. > > Thank you for your help! > > Paolo > > In data 23 ottobre 2007 alle ore 14:49:35, Dave Van den Eynde > <[EMAIL PROTECTED]> ha scritto: > > > Really? Because from what I've read, it's about communicating between a > > background process and a PHP web app. > > > > Dave > > > > > > John Crispin <[EMAIL PROTECTED]> wrote: it > > is rather simple to write php extensions in c, i think is waht you > > should be looking into > > Quoting 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 > > >> > > >> > > >> > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > Yahoo! Groups Links > > >
