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

Return Connect service response immediately if non-blocking mode set

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.2.0.0, V4.3.0.0, V4.4.0.0, V4.5.0.0, V4.6.0.0
    • Fix Version/s: V5.0.2.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      In the current implementation of the Packet socket API, setting a socket to non-blocking mode does not affect the connect operation. Regardless of the setting of non-blocking mode,  the Connect Service response will be returned after success or failure establishing the connection.

      However, according to the POSIX, when the non-blocking mode is enabled on a socket prior using the connect() api call, the function shall return status EINPROGRESS and process the connect action in background. (For details see https://pubs.opengroup.org/onlinepubs/009695399/functions/connect.html)

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    ABe Andreas B [X] (Inactive)
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: