evpp
evpp copied to clipboard
Add support for synchronous operations
Take the real world operation below
-
Server3 connects to Server1
-
Server1 replies Server3
-
Server3 use Client (Dispatcher) to communicate with Server2
-
Client (Dispatcher) connects and send message to Server2
-
Server2 sends reply Client (Dispatcher)
-
Client (Dispatcher) gives the message to Server3
-
Server3 replies Server1
For Client (Dispatcher) to be possible, I think there should be support for synchronous operations, I have NOT yet able to achieve this using asynchronous
Thanks
The TcpClient class cannot do this current AFAIK
The TcpClient can do this job asynchronously well. I think any synchronous operations can be implemented by asynchronously operations.
Yeah, the same problem. Message come several per one transfer, while supposed to come one at a time. And it seems not to be so friendly with mutexes that much...