|
| From: | Kieran Mansley |
| Subject: | [lwip-devel] [bug #26069] Connect to a remote IP address which is not present makes the APP hang |
| Date: | Fri, 03 Apr 2009 09:01:31 +0000 |
| User-agent: | Opera/9.21 (X11; Linux i686; U; en) |
Follow-up Comment #9, bug #26069 (project lwip):
It will get there once pcb->ntrx increases to TCP_SYNMAXRTX. Note this can
take some time to happen, as retransmissions back off exponentially. It may
be that you're just not waiting long enough, and that setting TCP_SYNMAXRTX to
a smaller value would help.
The only question on this bug is whether TCP_EVENT_CONNECTED should be called
when the connection fails, or whether TCP_EVENT_ERR should be called instead.
I'm inclined to stick with TCP_EVENT_ERR as that is the existing behaviour and
changing it to TCP_EVENT_CONNECTED might cause confusion for other users of
the event API.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26069>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |