AnsweredAssumed Answered

Connect to TCP Server time-out issue.

Question asked by Jianwu Tong on May 25, 2016
Latest reply on May 25, 2016 by Jianwu Tong

Hello everyone!


          When creating one TCP client socket in my board to connect other TCP server which is unreachable, the time-out interval is very long, so whether can I modify the interval to some little certain value,less than 20 seconds ?


          The following is the default value:


               Connect Timeout

                    ">  Option name OPT_CONNECT_TIMEOUT
                         Protocol level SOL_TCP
                         Values >=180,000 (RTCS maintains the connection for this number of milliseconds).
                         Default value 480,000 (eight minutes).




From sincerely Jianwu.