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



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to