[#BIO_recvmmsg]
= BIO&lowbar;recvmmsg
:mrdocs:

Receive multiple datagram messages through a BIO (recvmmsg&hyphen;style)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;recvmmsg(
    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, 0 on retry&sol;failure (check BIO&lowbar;should&lowbar;retry())&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| Datagram&hyphen;capable BIO&period;
| *msg*
| Array of BIO&lowbar;MSG descriptors to fill&period;
| *stride*
| Byte stride between consecutive BIO&lowbar;MSG elements&period;
| *num&lowbar;msg*
| Number of messages that may be received into `msg&period;`
| *flags*
| Implementation&hyphen;specific receive flags (often 0)&period;
| *msgs&lowbar;processed*
| Receives how many messages were filled&period;
|===


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