Function netio_buffered_sendv

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. Increase pagesize in the buffer attributes.

  • NETIO_STATUS_AGAIN Socket is busy, no buffers are available. Try again later

  • NETIO_STATUS_OK Message was successfully copied to internal buffers