BIO_sendmmsg

Send multiple messages through a BIO (sendmmsg-style interface).

Synopsis

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);

Return Value

1 on success, or 0 on failure (see BIO_should_retry).

Parameters

NameDescription
bDestination BIO supporting multi-message send.
msgArray (or strided sequence) of BIO_MSG descriptors to send.
strideByte stride between consecutive BIO_MSG elements (usually sizeof(BIO_MSG)).
num_msgNumber of messages in the msg sequence.
flagsOperation flags passed to the BIO method implementation.
msgs_processedReceives how many messages were successfully processed, or NULL.