Synchronous and Asynchronous I/O

This set of samples demonstrates how to perform both synchronous and asynchronous I/O operations from your ISAPI extension. Both flavors of I/O have been provided here for the sake of comparison, and each type of operation has its advantages. Asynchronous reads and writes are powerful extensions to ISAPI, as they allow extensions to free server pool threads from blocking on I/O operations. Even more importantly, asynchronous I/O takes advantage of the special pool of dedicated threads that IIS reserves for asynchronous I/O.

These samples are provided for educational purposes only. They have not been tested in a production environment, and Microsoft® will not provide technical support for them.

These projects are available in the ...\iissamples\sdk\isapi\extensions\io subdirectory of the Internet services directory.


© 1997 by Microsoft Corporation. All rights reserved.