Function netio_buffered_sendv
Defined in File buffered.c
Function Documentation
-
int netio_buffered_sendv(struct netio_buffered_send_socket *socket, struct iovec *iov, size_t num)
Send a message on a buffered connection.
- Parameters:
socket – The buffered send socket
iov – Pointer to a scatter/gather buffer
num – Number of elements in the scatter/gather buffer
- Returns:
NETIO_STATUS_TOO_BIG
The message is too big to fit in the internal buffers. Increasepagesize
in the buffer attributes.NETIO_STATUS_AGAIN
Socket is busy, no buffers are available. Try again laterNETIO_STATUS_OK
Message was successfully copied to internal buffers