On Thu, Jun 05, 2003, Lukasz Wójcicki wrote: > Hello, > I want to use read/write functions and connect/accept functions with > timeout (only using BIO). Now, I am using BIO non-blocking and loop, where I > am checking a time. > I am searching a method, like select function in sockets. Maybe is other > way to resolve this problem ? >
You can't do this with just BIO you'd need to extract the underlying transport structure (normally a socket) and call the appropriate function on it, either something that sets a timeout or use non-blocking I/O and call select when the BIO requests a retry. Steve. -- Dr Stephen N. Henson. Core developer of the OpenSSL project: http://www.openssl.org/ Freelance consultant see: http://www.drh-consultancy.demon.co.uk/ Email: [EMAIL PROTECTED], PGP key: via homepage. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]