Create a datagram (UDP‐style) BIO wrapping an existing socket descriptor.
Synopsis
Declared in <openssl/bio.h>
BIO*
BIO_new_dgram(
int fd,
int close_flag);
Return Value
Newly allocated datagram BIO, or NULL on failure.
Parameters
Name |
Description |
fd |
Socket file descriptor to wrap. |
close_flag |
BIO_CLOSE to close |
Created with MrDocs