[#BIO_sendmmsg]
= BIO&lowbar;sendmmsg
:mrdocs:

Send multiple messages through a BIO (sendmmsg&hyphen;style interface)&period;

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;sendmmsg(
    xref:BIO.adoc[BIO]* b,
    xref:BIO_MSG.adoc[BIO&lowbar;MSG]* msg,
    size&lowbar;t stride,
    size&lowbar;t num&lowbar;msg,
    uint64&lowbar;t flags,
    size&lowbar;t* msgs&lowbar;processed);
----

== Return Value

1 on success, or 0 on failure (see BIO&lowbar;should&lowbar;retry)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| Destination BIO supporting multi&hyphen;message send&period;
| *msg*
| Array (or strided sequence) of BIO&lowbar;MSG descriptors to send&period;
| *stride*
| Byte stride between consecutive BIO&lowbar;MSG elements (usually sizeof(BIO&lowbar;MSG))&period;
| *num&lowbar;msg*
| Number of messages in the `msg` sequence&period;
| *flags*
| Operation flags passed to the BIO method implementation&period;
| *msgs&lowbar;processed*
| Receives how many messages were successfully processed, or NULL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
