BIO_ADDR_dup

Duplicate a BIO_ADDR, copying its family and address bytes.

Synopsis

Declared in <openssl/bio.h>

BIO_ADDR*
BIO_ADDR_dup(BIO_ADDR const* ap);

Return Value

Newly allocated copy, or NULL on failure / if ap is NULL.

Parameters

NameDescription
apAddress to copy, or NULL.