I believe the answers are... 1) SSL_free(ssl) 2) SSL* ssl 3) SSL_free(ssl)
On 10/21/07, wang9736 <[EMAIL PROTECTED]> wrote: > > hi all > if server has reboot ,what should client do to reconnect with server ? > > SSL_shutdown(ssl); > SSL_free(ssl); > SSL_CTX_free(ctx); > close(normal_tcp_fd); > > all should be done or only some of them?and where should I do from ? > from > socket()? > SSL_ctx_new? > SSL* ssl? > > and if client has reboot ,need server exit from the thread according to > this client ? need server do all > SSL_shutdown(ssl); > SSL_free(ssl); > SSL_CTX_free(ctx); > close(normal_tcp_fd); >