Here are code examples that demonstrate how to handle an _IO_READ or _IO_WRITE message when a client calls.