这一天看NETMQ发现里面使用的是IOCP是思想,以前自己老是想找一个类是dll,这次终于找到了,特此记录一下.
git: https://github.com/somdoron/AsyncIO
demo:
AsyncIO
AsyncIO is portable high performance sockets library for .Net. The library is based on Windows IO Completion ports.
.Net Socket library doesn't give control over the threads and doesn't expose the IO completion port API, AsyncIO give full control over the threads and allow the developer to create high performance servers.
On Mono the library fall down to mono implementation but still give completion port like API.
Installation
You can install AsyncIO from