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 16:45:59 +0200

I added
 pxSRVconn = netconn_new(NETCONN_TCP);          // init conn
 if (pxSRVconn != NULL)
  if (pxSRVconn->pcb.tcp != NULL)
pxSRVconn->pcb.tcp->so_options |= SO_KEEPALIVE; // turn on keep-alive

and not keep-alive is working. But I don't understand why when I close socket on my windows serwer the lwIP does not notify that. Only when I close my serwer the lwIP close too (RST state?).

cheers
Janusz





reply via email to

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