[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] tcp_tmr and timers.c
From: |
Matthias Dübon |
Subject: |
Re: [lwip-users] tcp_tmr and timers.c |
Date: |
Wed, 29 Oct 2014 18:05:38 +0100 |
Hello,
yes you are right, the call to sys_check_timeouts is enough. My
problem was that my connection has closed when my problem occurred. So
thanks, the timers.c is fine and suits all my needs. Thanks for your
support.
best
Matthias
On Tue, Oct 28, 2014 at 1:59 PM, address@hidden <address@hidden> wrote:
> 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
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users
ᐧ