[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] idle connection timeout
From: |
mobin.seven |
Subject: |
Re: [lwip-users] idle connection timeout |
Date: |
Mon, 15 Sep 2014 23:35:56 -0700 (MST) |
Noam weissman wrote
> Hi,
>
> Normally closing a connection involves freeing memory or some
> other tasks as well.
>
> LwIP has a clean way to do this. Every connection has a poll
> callback option. If you assign a function to the connection (tcp_pool)
> it will be called every poll interval.
>
> If you set poll interval to two it will be called every second.
> You simply add an variable to the open connection to count the time.
>
> Hope that was clear.
I used this method when I was working on RAW API. Is it possible in socket
api too?
--
View this message in context:
http://lwip.100.n7.nabble.com/idle-connection-timeout-tp23252p23260.html
Sent from the lwip-users mailing list archive at Nabble.com.
- [lwip-users] idle connection timeout, mobin.seven, 2014/09/15
- Re: [lwip-users] idle connection timeout, Ari Suutari, 2014/09/15
- Re: [lwip-users] idle connection timeout, Noam weissman, 2014/09/15
- Re: [lwip-users] idle connection timeout,
mobin.seven <=
- Re: [lwip-users] idle connection timeout, address@hidden, 2014/09/15
- Re: [lwip-users] idle connection timeout, mobin.seven, 2014/09/16
- Re: [lwip-users] idle connection timeout, Simon Goldschmidt, 2014/09/16
- Re: [lwip-users] idle connection timeout, mobin.seven, 2014/09/16
- Re: [lwip-users] idle connection timeout, mobin.seven, 2014/09/16
- Re: [lwip-users] idle connection timeout, mobin.seven, 2014/09/17
- Re: [lwip-users] idle connection timeout, mobin.seven, 2014/09/22