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

Linger option "on/off" has no meaning here.

    Details

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

      Description

      The on/off boolean in linger SockOpt options is not useful here:

      • By using the LWIP software layer, as the Lwip_Socket_Close() function cannot be blocked, the closing cannot be "lingered".
      • By using the Socket API, the close confirmation is always transmitted after all socket resources are freed (after the TIME-WAIT state is terminated). The closing is always "lingered".
        In both case, the linger timeout is still useful to set a maximum time before freed the socket resources.

      A decision has to be taken: Either this value is relevant just in order to have the same interface as POSIX socket or that value has to be removed.
      If this option is keeped, the behaviors have to be documented in the Socket API and LWIP documentation.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    ATilatti ATilatti (Inactive)
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: