I think you can try s_client program, in apps directory. Using it, you can write "ssl on" after SSL negotiation and see what happens. If it works, you can use it to build your program. It has all you need.
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]