This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

TCP IP stack behaviours

I'm using keil TCP IP stack on many devices but I've observed a strange thing: My device is server and the client open the socket. If the client doesn't transmit data after socket opening (SYN sequence), the socket is closed by the server (my device) after less than a second. The TCP socket "lease" time is fixed to 120" but a real event of TCP_EVT_CLOSE is generated by stack..... Can anyone explain this, please?

Parents
  • Check if the timings for TCP/IP stack are correct.

    Tick timer interval is configured from Net_Config.c

    #define TICK_INTERVAL  100
    


    Default setting is for 100ms ticks.

    Make sure that the function timer_tick() is called with configured interval. This means every 100 ms for default TCP/IP configuration.

Reply
  • Check if the timings for TCP/IP stack are correct.

    Tick timer interval is configured from Net_Config.c

    #define TICK_INTERVAL  100
    


    Default setting is for 100ms ticks.

    Make sure that the function timer_tick() is called with configured interval. This means every 100 ms for default TCP/IP configuration.

Children