[lug] named pipe missunderstanding
lorireed at lightning-rose.com
Wed Feb 2 07:47:21 MST 2011
On 02/01/2011 02:27 PM, Jason Davis wrote:
> I think I have a missunderstanding about named pipes. Im using them
> for IPC and Im losing data.
> Here is the code I used:
> Any ideas why I could be losing data?
Okay, Java is not my forte, but this is what I think is going on.
Pipes are not files, and you're using files, not pipes.
Pipes in Java (PipedOutputStream and PipedInputStream classes) are for
communication between threads running in the same JVM, not for IPC.
More information about the LUG