BIO_ADDR_family

Return the address family stored in a BIO_ADDR (for example AF_INET).

Synopsis

Declared in <openssl/bio.h>

int
BIO_ADDR_family(BIO_ADDR const* ap);

Return Value

Address family constant, or AF_UNSPEC if unset.

Parameters

NameDescription
apAddress object to query.