public Result send_messages (Message messages, TimeVal timeout)
Warning: send_messages is deprecated since 1.18.
Attempt to send
messages to the connected this, blocking up to the specified
timeout can be
null, in which case this function might block forever.
This function can be cancelled with flush.
the messages to send
a timeout value or
the number of messages to send
OK on success.