Sun Java System Web Server 7.0 Update 6 NSAPI Developer's Guide

Return Values

The number of bytes transferred to the socket, if successful, or the constant IO_ERROR if unsuccessful.