<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 18 June 2013 22:46, Simon Kelley <span dir="ltr"><<a href="mailto:simon@thekelleys.org.uk" target="_blank">simon@thekelleys.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No, that's not the right place to change. The retransmissions/timeouts are actually exponential, so the code waits 1 seconds for a reply, retransmits, waits 2 seconds, retransmits, waits 4 seconds, retransmits and finally waits 8 seconds and then gives up. You can extend that sequence by changing the constant in<br>

<br>
 else if (++transfer->backoff > 5 && len != 0)<br>
<br>
changing 5 to 6 will give you another 16 seconds, to 7 will give you 32 seconds, etc etc.<br></blockquote><br><br> 
else if (++transfer->backoff > 7 && len != 0)<br><br><div>Works like a charm for me (6 doesn't). Thank you again.<br><br><br></div><div>ps. Maybe you consider changing 5 to 7 is the code instead of implementing new option?<br>
<br><br>Greets.<br></div></div></div></div>