[#BIO_ADDRINFO_family]
= BIO&lowbar;ADDRINFO&lowbar;family
:mrdocs:

Return the address family of a BIO&lowbar;ADDRINFO node (for example AF&lowbar;INET)&period;

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;ADDRINFO&lowbar;family(xref:BIO_ADDRINFO.adoc[BIO&lowbar;ADDRINFO] const* bai);
----

== Return Value

Address family constant suitable for socket()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bai*
| Address&hyphen;info node to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
