Azure / DotNetty

DotNetty project – a port of netty, event-driven asynchronous network application framework
Other
4.09k stars 977 forks source link

How to create Synchronous receive message in DotNetty in c# #233

Closed hsdotnet closed 7 years ago

nayato commented 7 years ago

more context pls. If you want to write synchronous code while working with dotnetty, it's not suited for that without establishing producer-consumer (dotnetty channel - producer, client code - consumer). DataFlow, Rx and even just ConcurrentQueue/BlockingCollection-based setup might help with that. If it's about synchronous communication (e.g. request-response), then there are no primitives in DotNetty for that but it's trivial to build.