Oh I see, I used wrong function. All I want is to know if I have in buffer some another data to read. In final step I want to have client that have e.g. 10 connections to several servers. I want to guard with function select() the file descriptors. And when select() awakes my thread i want to read the server massage. But when I`m reading, it might be possibly, that another server send data. So I want to scan buffers for all conection, if there are another data to read. I thought that this is possible with the function BIO_pending()
So now I have another Question. Is there any function that says me if there are another data in buffer to read. Or I must try to read from all connections before I use the select() function again?? ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]