BIO_new_accept

Create an accept BIO bound to host_port (host:port or port-only form).

Synopsis

Declared in <openssl/bio.h>

BIO*
BIO_new_accept(char const* host_port);

Return Value

New accept BIO, or NULL on failure; free with BIO_free_all().

Parameters

NameDescription
host_portLocal bind specification parsed like BIO_set_accept_name().