[#BIO_ADDRINFO_socktype]
= BIO&lowbar;ADDRINFO&lowbar;socktype
:mrdocs:

Return the socket type of a BIO&lowbar;ADDRINFO node (for example SOCK&lowbar;STREAM)&period;

== Synopsis

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

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

== Return Value

Socket type 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]#
