Hi I look at couple example about using abstraction layer BIO over socket and attach the SSL object to the BIO. When time to delete, they delete SSL and socket only without delete BIO. I wonder why ??
ssl = SSL_new(ctx); Sbio = BIO_new_sock(sock, BIO_NO_CLOSE): SSL_set_bio(ssl, sbio,sbio); At the delete time: SSL_shutdown(ssl); SSL_free(ssl); Close(s); How about Sbio ? Please help me to understand this . Thank You Thao Dinh
