lwip-users
[Top][All Lists]
Advanced

[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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]