Function netio_buffered_send
Defined in File buffered.c
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. 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