The author discusses the implementation of a multi-connection echo server using individual socket polling with AFD. They compare this approach to an earlier set-based method, highlighting the scalability benefits of individual polling. The new method reduces complexity and uses the IOCP for handling completions efficiently. Important details such as the use of the `Exclusive` flag and associating sockets with IOCP are elaborated upon. Performance considerations between independent polling and set polling are also discussed.

5m read timeFrom lenholgate.com
Post cover image
Table of contents
Wrapping upMore on AFD

Sort: