Names pipes in java
I need to use named pipes in my java application to communicate with a .net application.
As named pipes is OS dependent and not included in java it would probably have to be included through JNI. Anyone have any idea how to do this? or if there already exist a library with this function?
Some information on named pipes:
Named Pipes (Windows)
I think named pipes are supported under the nio package included in Java, for both Linux and Windows.
I also think socket files are supported.
However if they are not, why not just check which OS the user is using and perform a system dependent program call,
like mkfifo <filename> for Linux?