Send multiple messages through a BIO (sendmmsg-style interface).
Declared in <openssl/bio.h>
int
BIO_sendmmsg(
BIO* b,
BIO_MSG* msg,
size_t stride,
size_t num_msg,
uint64_t flags,
size_t* msgs_processed);
1 on success, or 0 on failure (see BIO_should_retry).
| Name | Description |
|---|---|
| b | Destination BIO supporting multi-message send. |
| msg | Array (or strided sequence) of BIO_MSG descriptors to send. |
| stride | Byte stride between consecutive BIO_MSG elements (usually sizeof(BIO_MSG)). |
| num_msg | Number of messages in the msg sequence. |
| flags | Operation flags passed to the BIO method implementation. |
| msgs_processed | Receives how many messages were successfully processed, or NULL. |