BIO_SOCK_NONBLOCK
if (!BIO_socket_nbio(sock, (options & BIO_SOCK_NONBLOCK) != 0))
if (!BIO_socket_nbio(sock, (options & BIO_SOCK_NONBLOCK) != 0))
if (!BIO_socket_nbio(accepted_sock, (options & BIO_SOCK_NONBLOCK) != 0)) {
data->bind_mode |= BIO_SOCK_NONBLOCK;
data->bind_mode &= ~BIO_SOCK_NONBLOCK;
data->accepted_mode |= BIO_SOCK_NONBLOCK;
data->accepted_mode &= ~BIO_SOCK_NONBLOCK;
data->connect_mode |= BIO_SOCK_NONBLOCK;
data->connect_mode &= ~BIO_SOCK_NONBLOCK;
int server_flags = BIO_SOCK_NONBLOCK;
int client_flags = BIO_SOCK_NONBLOCK;
asock = BIO_accept_ex(lsock, NULL, BIO_SOCK_NONBLOCK);
BIO_set_bind_mode(acpt, BIO_SOCK_NONBLOCK | BIO_SOCK_REUSEADDR);