1

(3 replies, posted in wolfSSL)

Thanks for your answer!

We have a problem during the client-server communication, where the server doesn't complete the SSL handshake. This cause the connect function to be stuck forever and it never returns.

We want to have a (blocking) connect function that we can call with a timeout, and if it doesn't able to complete the connection during that timeout, it simply returns with an error. Can I do that at all?

Because we failed to do the above, we thought of using the non-blocking connect call. The problem was, we couldn't compile it with WOLFSSL_CALLBACKS set.  Can I do that without defining WOLFSSL_CALLBACKS?

Thanks  again!

2

(3 replies, posted in wolfSSL)

I tried to define WOLFSSL_CALLBACKS in windows OS with vs2012: C/C++ ->Preprocessor, but it didn't work, because in callback.h there is #include <sys/time.h>.
how can I fix this?
I would appreciate your help!