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

Name

Description

ap

Address object to query.

p

Destination buffer for the raw address, or NULL to query length only.

l

On input, capacity of p when non‐NULL; on output, required/written length.

Created with MrDocs