This function always returns immediately with the number of bytes that were successfully written. If no bytes can be successfully written and the connection is still active, ISOCKET_WriteV() returns AEE_NET_WOULDBLOCK. To be notified when to call ISOCKET_WriteV() again, the caller must call ISOCKET_Writeable().
int32 ISOCKET_WriteV ( ISocket * pISocket, SockIOBlock iov, uint16 wiovcount )
- bytes_written: ( > 0), Any positive number indicates the total number of bytes
successfully written from all of the iov buffers.
AEE_NET_WOULDBLOCK: No bytes can be written at this time; try again later (See ISOCKET_Writeable().
AEE_NET_ERROR, Failed to write any bytes.