|
From: | address@hidden |
Subject: | Re: [lwip-users] tcp_tmr and timers.c |
Date: | Tue, 28 Oct 2014 13:59:42 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Matthias Dübon wrote:
calling sys_check_timeouts in the main loop does not suffice, cause the tcp_tmr is not activated in the timers.c module.
Matthias, there would be something seriously wrong with your code if calling sys_check_timeouts wouldn't suffice.
I wonder how what are you actually complaining about? Does anything not work as expected? Have a look at timers.c lines 72-111. The TCP timer is only active when needed (i.e. not active when no connections need a timeout).
Simon
[Prev in Thread] | Current Thread | [Next in Thread] |