On Jan 25, 2012, at 7:08 AM, Manish Yadav wrote:

> Hi all,
> 
> could you please confirm if dtls timers are implemented at client side only 
> and not on server side (only client retries/attempts to establish connection) 
> or why they should be implemented on server side also.
You need timers on the server side also. However, 
DTLSv1_get_timeout/DTLSv1_handle_timeout is only necessary if you use select.
> 
> 
> after looking at :  http://crypto.stanford.edu/~nagendra/papers/dtls.pdf
> 
> i understood that i need to call DTLSv1_get_timeout/DTLSv1_handle_timeout 
> incase of non-blocking socket. but after looking at example available on net 
> "dtls_udp_echo2.c", i see only client side take care of this. i feel only 
> client side should try to reconnect, why server should try to resend message 
> to client.
Not sure about dtls_udp_echo2.c. You might want to take a look at the examples 
available at
http://sctp.fh-muenster.de/dtls-samples.html
> 
> please share if you know any example on this.
Maybe Robin has more examples...

Best regards
Michael
> 
> thanks,
> manish
> 
> 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to