JNI vs. C

Hi!

May problem is following. I want to commicate with a C-program from Java. This C-Programm is able to communicate with HID devices in Linux(!). So it is running as daemon in the backgground and picks up every data which is sent from the device and is able to send data to the device. I tried to use the JNI but how what I found out is that the JNI is able to call functions of a native program, not just data.

So, do you know, how I can transport this data from JAVA to the C programm? For what I have to look for?

Are there any tutrial pages or howto's?

greetings

[599 byte] By [Seepferdchena] at [2007-10-2 5:49:34]
# 1
Hi! http://public.cabit.wpcarey.asu.edu/janjua/java/jni/I want to this page useful
Siriusa at 2007-7-16 1:59:02 > top of Java-index,Java Essentials,Java Programming...
# 2
This page I already know...But I could nothing which helped me for my problem...what's about Interprocess communication in Java with native methods?May that be usable for me?
Seepferdchena at 2007-7-16 1:59:02 > top of Java-index,Java Essentials,Java Programming...