Is there a C # reactor / proactor library?

I want to move a C ++ application to C # so that some major improvements are a little easier. The C ++ application is single-threaded and uses a makeshift reactor template for all processing of receive, read and write socket events and timer events. All socket processing is done by async.

What is an acceptable way to implement a C # reactor template? Are there existing libraries?

+3
source share
6 answers

brofield,

, # - . - Compact Framework/Windows CE Proactor/Reactor ( ACE). Compact Framework, , - . ( ).

,

/ , . - -. 100 . ( , , - ), , , . Windows CE ARM 750 , 4 .

, # Java, , . , - . . Eclipse (IDE) 44 , . 44 ???? , ??? Eclipse ?

+4

# ;

, , . , "" " ", , , , , , - - - .

+4

Windows API , I/O Completion Ports, . , System.Net.Sockets .NET - -. System.Net.Sockets , , . .NET ThreadPool, .

+3

.NET Threads, Sockets Event Handling # .NET, . , , , .

, , .NET Socket, .

: , , , .NET/#

+2
+2

Take a look at the Interlace project in Google code. We use this in all of our products.

0
source

Source: https://habr.com/ru/post/1710114/


All Articles