Closed chetan87-kamble closed 3 years ago
Your observation is correct, the first request times out as the Retransmission timeout is 1393 ms, this is probably due to the fact it has to bind on the first request, the second request Retransmission timeout is 1291 ms has been adjusted in light of this and this succeeds. maybe the first request should either raise the transmission timeout or not bother with it until bind has worked.
You are doing nothing wrong as such.
Your observation is correct, the first request times out as the Retransmission timeout is 1393 ms, this is probably due to the fact it has to bind on the first request, the second request Retransmission timeout is 1291 ms has been adjusted in light of this and this succeeds. maybe the first request should either raise the transmission timeout or not bother with it until bind has worked.
You are doing nothing wrong as such.
@shamblett OK! Thank you for your prompt reply. It's cleared my doubt. I will adjust my transmission timeout as per my requirement. Thank you once again!
Hi @shamblett I am using your flutter example to working on my CoAP Client. When I send request every time, first attempt get timed out and response received on second retransmit. Is it right? Please guide me if I am doing wrong. Here is the code snippet and log out put:
Log Output: