IPC between .NET and Java client applications

后端 未结 3 1494
南方客
南方客 2021-02-03 14:20

I must get two different client application talk without any kind of broker or server. What is the best method for IPC beween two process, Java and .NET?

It must able to

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-03 14:41

    You can access WinAPI through JNI(Java) and PInvoke(C#). Use following WinAPI functions: CreateEvent SetEvent WaitForSingleObject CreateMutex ReleaseMutex CreateFileMapping (for share memory) MapViewOfFile UnmapViewOfFile

提交回复
热议问题