Concurrent read/write of named pipe in Java (on windows)

后端 未结 5 836
悲哀的现实
悲哀的现实 2020-12-09 23:57

I\'m trying to provide communication between a C# app and a Java app on windows using named pipes with the method described by v01ver in this question: How to open a Windows

5条回答
  •  长情又很酷
    2020-12-10 00:25

    I suppose that RandomAccessFile is not the right API here. Try a FileInputStream + FileOutputStream on the Java side. But that is only a guess, as I last used the Windows API in times when named pipes didn't yet exist.

提交回复
热议问题