> My server can send 1 message to the client and the client has no problem reading > and displaying the message. Also my client can send a message back to server but > in order to display the message I have to use BIO_flush. After those 2 messages I > am unable to get any more messages to send and receive properly. I just want to be > able to use BIO_read and BIO_write to send and receive multiple messages between > my client and server.
> I have SSL_MODE_AUTO_RETRY set and from what I understand I/O should be blocking so I > don't know what the problem is. Any ideas on how to send multiple messages would be > great. Thanks. Most likely, the problem is that both ends are waiting for the other end to send information. If you add more logging, you'll probably see that this is the case. The reason you are having this problem is because you are under the impression that the interface between SSL and the application is a message interface. It is not. It is a byte interface. Every time you write code thinking you are receiving messages rather than bytes, you create bugs. DS ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]