Create a connected pair of in-memory datagram BIOs.
Declared in <openssl/bio.h>
int
BIO_new_bio_dgram_pair(
BIO** bio1,
size_t writebuf1,
BIO** bio2,
size_t writebuf2);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| bio1 | Receives the first BIO of the pair. |
| writebuf1 | Write-buffer size for bio1 (0 selects a default). |
| bio2 | Receives the second BIO of the pair. |
| writebuf2 | Write-buffer size for bio2 (0 selects a default). |