lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #26069] Connect to a remote IP address which is not pr


From: Oleg Tyshev
Subject: [lwip-devel] [bug #26069] Connect to a remote IP address which is not present makes the APP hang
Date: Fri, 03 Apr 2009 08:34:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 GTB5

Follow-up Comment #7, bug #26069 (project lwip):

If we get failure in tcp_slowtmr() would be set flag pcb_remove.
Near to the end of the loop we check this variable and send TCP_EVENT_ERR.

/* If the PCB should be removed, do it. */
if (pcb_remove) {
...
  TCP_EVENT_ERR(pcb->errf, pcb->callback_arg, ERR_ABRT);
}

TCP_EVENT_ERR is not TCP_EVENT_CONNECTED with error code,
but good enough too:)


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26069>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]