11 Replies Latest reply on Nov 16, 2014 5:57 PM by userc_2727

    How can I use(or change) the <TCP Keep Alive Option>?

    StKi_2157971

      I like to enable and change the socket-tcp-keepalive option.

       

      Here is my environments.

       

       

      - WICED SDK 2.3.1

       

      - ThreadX/NetX Duo, BCMUSI11

       

       

      Here is my source for <TCP Keep Alive>.

       

      .......................

       

      wiced_tcp_create_socket(&socket_tcp, interface);

       

      nx_tcp_socket_keepalive_enabled = 1;

       

      nx_tcp_socket_keepalive_timeout = 10; // 10Sec

       

      nx_tcp_socket_keepalive_retries = 1;

       

      .......................

       

       

      But, after this implementation, WICED module didnt send <Keep Alive Packet>.

       

      Is it wrong?

       

       

      Thanks in advance

       

      Steve