BIO_new_connect

Create a BIO_s_connect() BIO configured for host_port.

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_new_connect(char const* host_port);

Return Value

New connect BIO, or NULL on error; free with BIO_free().

Parameters

NameDescription
host_portHost:port string describing the peer to connect to.