[#BIO_method_type]
= BIO&lowbar;method&lowbar;type
:mrdocs:

Return the BIO type code of the method used by `b` (BIO&lowbar;TYPE&lowbar;&ast;)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;method&lowbar;type(xref:BIO.adoc[BIO] const* b);
----

== Return Value

Type identifier such as BIO&lowbar;TYPE&lowbar;MEM or BIO&lowbar;TYPE&lowbar;SOCKET&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| BIO whose method type is queried&period;
|===


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