Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-384

Avoid long timeout on connect attempt to non-existend IP address

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V5.0.2.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      When an application tries to connect to an non-existent IP address, the current implementation sends roughly 30 ARP requests before giving up. (Five ARPs for each of the six SYN retries). This results in a long timeout of 32 seconds.

      In case the initial ARP resolution with five retries fails, it makes not much sense to further retry the connection attempt since the ARP address resolving will most likely continue to fail.

      The implementation is changed, such that the TCP connect attempt will be aborted right after the arp resolution failure.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  AMesser Andreas Messer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: