Uploaded image for project: 'CIFX Driver for Linux'
  1. CIFX Driver for Linux
  2. NXDRVLINUX-149

TCPServer: Connection to the server may not be established

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V3.0.0
    • Fix Version/s: V3.0.1
    • Component/s: TCP server
    • Labels:
      None
    • Account:
      SDO Driver (SDODRIVER)

      Description

      On some Linux systems it is not possible to establish a server connection.
      This happens because of unexpected long timeouts during the determination of the Client network name.

      The problem was discovered in the TCP Connector and is due to the order in which the client thread is generated and the station names of the client are determined. In version V1.4.2.0, the order was changed and getnameinfo() is called before the client thread is created. getnameinfo() could need a long time (up to 5s) and this causes the connection to the server to be terminated with an error.

       


       

       

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  SDoell Sebastian Döll
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: