Hi, have a look at the code of run_client() in client.c, called from main() in capture.c. I believe the code is self-explanatory. If not, feel free to ask again.
Probably an easier solution would be if you run the frontend as a separate program, which would call the capture client, with commands for the camera given as parameters - like what does the "job" perl script. This way you do not need to bother about sockets and communication protocols. In fact, the program was actually written to function as this. Petr On Wed, 2007-03-07 at 02:00, Jamie Campbell wrote: > Gabriel Ortiz Lour <[EMAIL PROTECTED]> writes: > > > > > Hi all, I'm a beginner Linux programmer and would like to create a > > front-end > to capture. Can anyone send some example script ou C source to talk to the > capture's /tmp/.capture_socket Socket? I've tried something like "echo > 'start' > > /tmp/.capture_socket", but it didn't worked out. Some shell script would be > very > nice. > > Thanks already, Gabriel Ortiz > > I've noticed your posts floating around asking for help on a capture > frontend. I > am trying to do this as well and was wondering if you have had any success. > Please let me know. > > Thank you, Jamie ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Capture-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/capture-devel
