Receive multiple datagram messages through a BIO (recvmmsg‐style).
Synopsis
Declared in <openssl/bio.h>
int
BIO_recvmmsg(
BIO* b,
BIO_MSG* msg,
size_t stride,
size_t num_msg,
uint64_t flags,
size_t* msgs_processed);
Return Value
1 on success, 0 on retry/failure (check BIO_should_retry()).
Parameters
Name |
Description |
b |
Datagram‐capable BIO. |
msg |
Array of BIO_MSG descriptors to fill. |
stride |
Byte stride between consecutive BIO_MSG elements. |
num_msg |
Number of messages that may be received into |
flags |
Implementation‐specific receive flags (often 0). |
msgs_processed |
Receives how many messages were filled. |
Created with MrDocs