[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #57710] Unable to reinitialize the TCP connection
From: |
Praveen Kumar |
Subject: |
[lwip-devel] [bug #57710] Unable to reinitialize the TCP connection |
Date: |
Mon, 3 Feb 2020 07:29:11 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 |
Follow-up Comment #4, bug #57710 (project lwip):
Hi Benjamin,
We are not using IPv6 but its default enabled in my LWIP.
I will disable it as we don't have any plans on working on IPv6.
I have added the change which you suggested in below function and need to test
now.
err_t Etherdo_connected(void arg, struct tcp_pcb newpcb, err_t err) {
// do something
ip_set_option(newpcb, SOF_KEEPALIVE);
*pcb_tcp = pcb;*
}
I am using the "newpcb" during tcp_write(). I amcopying the content of newpcb
to my local pcb_tcb and using that for data transmission.
I will remove the IPv6 and check again now and will get back to you with
results.
Regards,
PraveenKumar.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?57710>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/