Not suprisingly, .NET wraps Win API calls, for instance AcceptEx. With that in mind, this article provides some good background.
Also, in the course of absorbing the above, references were made to Jeffery Richter's Power Threading Library, as a great way to learn about multithreading, locks and so on. Said library is available here.
Last, I'm not sure if this one is still relevant, so I need to read again.
Edit: As .NET uses IOCP under the hood, this introductory article and this more technical one may be useful reads. The second link in turn references other articles:
- Len Holgate's series on writing a reusable, high performance socket server class: Part 1, Part 2 and Part 3 (this part in particular discusses how many worker sockets to create at startup).
- "A high performance TCP/IP socket server COM component for VB" by Len Holgate
- "Scalable Servers With IO Completion Ports and How to Cook Them" by rtybase
- An article on Winsock2 I/O methods
No comments:
Post a Comment