Uploaded image for project: 'EtherNet/IP Firmware V3'
  1. EtherNet/IP Firmware V3
  2. PSEISV3-304

For all socket, set SO_LINGER to reduce delays until socket reuse in case of interrupted TCP connection closes.

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V3.4.0.0, V3.4.1.0, V3.5.0.0
    • Component/s: None
    • Labels:
      None
    • Account:
      SPC EthernetIp Slave (SPCETHERNE)

      Description

      In the lwIP accept callback, we should set SO_LINGER scoket option with a reduced linger time, e.g. two seconds. This will allow faster reuse of sockets in certain situations, since we don't have to spend the full 2MSL (120secs) delay waiting for the peer to send remaining data (would not be accepted by the stack anyway).

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MBommert Marc Bommert
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: