Function netio_buffered_send

Function Documentation

int netio_buffered_send(struct netio_buffered_send_socket *socket, void *data, size_t size)

Send a message on a buffered connection.

Parameters:
  • socket – The buffered send socket

  • data – Pointer to message

  • size – Size of the message

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