[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Writing to FIFOs using Java
Hi,
This is slighlty off-topic question but was hoping someone here might have
some experience with my problem. I'm trying to write a user space program in
java that can interact with my real-time module using the real-time FIFOs. I
have a version of the user space program in C that works fine but i'd like
to extend its capabilities and the easiest way is to use java. I have
managed to simulate the C programs output in java and i can write this to an
ordinary file. I can then 'cat' this file into /dev/rtf1' and the module
responds. However I cannot get the java program to write to the character
device (/dev/rtf1) directly. It throws an IOexception (invalid argument). I
have tried using the different java output stream functions but to no avail.
I know this is not the best place to send java questions, i was just
wondering whether anyone had any experience with this or not?
Thanks in advance
Alistair
--------------------------
alistair_w@hotmail.com
_____________________________________________________________________________________
Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com