RE: timeout for SSL_read ?

2006-08-21 Thread David Schwartz
> The application I am writing has requirement that > after a request is sent to server, it should hear > from the server in xyz seconds. > With normal tcp socket, i can achieve this through select() > function. But how do I achieve this for SSL_read? Same way. > As I understand from last few t

Re: timeout for SSL_read ?

2006-08-21 Thread Marek Marcola
Hello, > The application I am writing has requirement that after a request is > sent to server, it should hear from the server in xyz seconds. > > With normal tcp socket, i can achieve this through select() function. > But how do I achieve this for SSL_read? > As I understand from last few thread

RE: timeout for SSL_read ?

2006-08-21 Thread Mark
Hi, > The application I am writing has requirement that after a > request is sent to server, it should hear from the server in > xyz seconds. I have done this by using non blocking sockets with SSL_read. I call SSL_read in a loop using select() when necessary. I use a timeout in the calls to