Simultaneous calls do not work
If the client wants to invoke something from the server within the server's call (or vice versa), the call back is blocked.
I've attached a small test project with a server and a client that shows the problem. To test simply start the PMCServer and PMCClient.
As soon as they are connected, the server calls a method from the client and within that call the client tries to call a method from the server. The second call causes the program to be blocked - resulting in a deadlock - so no simultaneous communication seems to be possible. Is this a bug or simply not intended?
Note: In our real application we have two GUI apps and the simulated call of DoSomething() in my test project is actually triggered by the user. In some cases, the server needs to trigger something on the client side and the client needs to call back to retrieve something from the server at the same time, which is why we encountered the problem described.