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().
- pISocket:Pointer to the ISocket Interface object. iov[ ] : An array of SockIOBlocks containing the individual buffers to be sent.
- wiovcount:Number of entries inside the SockIOBlock structure.
int32 ISOCKET_WriteV ( ISocket * pISocket, SockIOBlock iov, uint16 wiovcount )
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.
AEE_NET_EBADF Invalid socket descriptor is specified.
AEE_NET_ENOTCONN Socket not connected.
AEE_NET_ECONNRESET TCP connection reset by server.
AEE_NET_ECONNABORTED TCP connection aborted because of a time-out or other failure.
AEE_NET_EIPADDRCHANGED IP address changed, causing TCP connection reset.
AEE_NET_EPIPE Broken pipe.
AEE_NET_ENETDOWN Network subsystem unavailable.
AEE_NET_EFAULT Application buffer not valid part of address space.
AEE_NET_GENERAL_FAILURE General failure.
AEE_NET_ESHUTDOWN Connection is shutdown for writing