Re: [openssl-users] Issue with select after SSL_get_wfd

2018-02-16 Thread Michael Richardson
Grace Priscilla Jero wrote: > Thankyou Hugh, I know that it is datagram and we are not > acknowledged. I just was looking for a way if SSL will be aware whether > the packet is consumed or not. or anyway we can get the status from > SSL on the packet consumption. Yes, that's bec

Re: [openssl-users] Issue with select after SSL_get_wfd

2018-02-16 Thread Grace Priscilla Jero
Thankyou Hugh, I know that it is datagram and we are not acknowledged. I just was looking for a way if SSL will be aware whether the packet is consumed or not. or anyway we can get the status from SSL on the packet consumption. Thanks, Grace On Fri, Feb 16, 2018 at 4:13 PM, Hugh Maaskant wrote:

Re: [openssl-users] Issue with select after SSL_get_wfd

2018-02-16 Thread Hugh Maaskant
Hi Grace, UDP is a datagram service - think of it as “fire and forget”. So the sending socket will not know if or when the packet has been delivered to the receiver, let alone that it has been consumed. You could, of course, create your own application level acks and retries etcetera, but befor

[openssl-users] Issue with select after SSL_get_wfd

2018-02-15 Thread Grace Priscilla Jero
Hi All, I want to know the status of the SSL_WRITE for DTLS on UDP on a non-blocking socket. Only if the other end does the recvfrom I want to continue with subsequent SSL_WRITE. Below is what I have tried. //Making the socket blocking - if I dont do below then select call hangs if (wfd = SSL_g