[#BIO_new_connect]
= BIO&lowbar;new&lowbar;connect
:mrdocs:

Create a BIO&lowbar;s&lowbar;connect() BIO configured for `host&lowbar;port&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BIO.adoc[BIO]*
BIO&lowbar;new&lowbar;connect(char const* host&lowbar;port);
----

== Return Value

New connect BIO, or NULL on error&semi; free with BIO&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *host&lowbar;port*
| Host&colon;port string describing the peer to connect to&period;
|===


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