> http://stackoverflow.com/questions/6520676/pop3s-implementatio > n-using-openssl-library
char bf[16] = "STLS\r\n"; if (send(c->socket, bf, sizeof(bf), 0) < 1) { fprintf(stderr, "[%d] failed writing to auth server socket(ssl_coneect)", getpid()); } I don't think that you intentionally write 16 bytes? oki, Steffen About Ingenico: Ingenico is a leading provider of payment, transaction and business solutions, with over 15 million terminals deployed in more than 125 countries. Over 3,000 employees worldwide support merchants, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue. http://www.ingenico.com/. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. P Please consider the environment before printing this e-mail ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org