static int acpt_free(BIO *data);
static int acpt_state(BIO *b, BIO_ACCEPT *c);
static void acpt_close_socket(BIO *data);
static int acpt_free(BIO *data);
static int acpt_state(BIO *b, BIO_ACCEPT *c);
static void acpt_close_socket(BIO *data);
bio=BIO_new_socket(i,BIO_CLOSE);
if (bio == NULL) goto err;
bio=BIO_new_socket(i,BIO_CLOSE);
if (bio == NULL) goto err;
static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr)
{
static long acpt_ctrl(BIO *b, int cmd, long num, void *ptr)
{
BIO_set_port(dbio,data->param_port);
if (data->param_hostname)
BIO_set_hostname(dbio,data->param_hostname);
BIO_set_port(dbio,data->param_port);
if (data->param_hostname)
BIO_set_hostname(dbio,data->param_hostname);