BIO_ADDR_rawaddress

Extract the raw network address bytes from a BIO_ADDR.

Synopsis

Declared in <openssl/bio.h>

int
BIO_ADDR_rawaddress(
    BIO_ADDR const* ap,
    void* p,
    size_t* l);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
apAddress object to query.
pDestination buffer for the raw address, or NULL to query length only.
lOn input, capacity of p when non-NULL; on output, required/written length.