[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Handling sudden disappearance of network i/f
From: |
Janusz U. |
Subject: |
Re: [lwip-users] Handling sudden disappearance of network i/f |
Date: |
Mon, 25 Sep 2006 15:55:43 +0200 |
I use netconn API.
Reduced keep-alive times in tcp.h:
#define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */
#define TCP_KEEPALIVE 0x02 /* send KEEPALIVE probes when idle for
pcb->keepalive miliseconds */
/* Keepalive values */
#define TCP_KEEPDEFAULT 7200/*7200000*/ /*
KEEPALIVE timer in miliseconds */
#define TCP_KEEPINTVL 5000/*75000*/ /* Time
between KEEPALIVE probes in miliseconds */
#define TCP_KEEPCNT 9 /* Counter for
KEEPALIVE probes */
#define TCP_MAXIDLE TCP_KEEPCNT * TCP_KEEPINTVL /* Maximum
KEEPALIVE probe time */
and nothing. When I disconnect cable from my serwer the lwIP does not detect
link disconnection never. I still have in debug:
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
I have not idea.
kind regards
Janusz
- [lwip-users] Handling sudden disappearance of network i/f, clive, 2006/09/18
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/19
- Re: [lwip-users] Handling sudden disappearance of network i/f, Clive Wilson, 2006/09/20
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/21
- [lwip-users] LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);, Mumtaz Ahmad, 2006/09/21
- Re: [lwip-users] LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);, Kieran Mansley, 2006/09/21
- Re: [lwip-users] LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);, Mumtaz Ahmad, 2006/09/22
- Re: [lwip-users] Handling sudden disappearance of network i/f, Pedro Alves, 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f,
Janusz U. <=
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/25
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/26
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/26
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/26
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/26
- Re: [lwip-users] Handling sudden disappearance of network i/f, Janusz U., 2006/09/26
- Re: [lwip-users] Handling sudden disappearance of network i/f, Kieran Mansley, 2006/09/26