[Mono-list] Async Socket calls

tcmichals tcmichals at msn.com
Wed Apr 19 11:00:52 EDT 2006


I'm attempting to use Async socket calls, mainly BeginReceive, the 
performance is low and CPU usage is very high for a single socket, . I 
tested the binary on windows vs mono, and only mono has this problem of 
using Async Sockets Thoughts?

As a test I moved the read operation for BeginRecevie single thread using a 
select and my performance matches between mono/Linux and Windows.

Is there a way to use the select to wait for ManualReset event?  When using 
a single thread and select, I would like to abort the thread using a event, 
to close done the read thread gracefully.





More information about the Mono-list mailing list