[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] Mime-Version: 1.0
From: |
lwip |
Subject: |
[lwip-users] [lwip] Mime-Version: 1.0 |
Date: |
Thu, 09 Jan 2003 01:15:45 -0000 |
Hi
In the function tcp_pcb_remove - there is a call to the function -
tcp_pcb_purge().
My question is regarding to the condition in this function (tcp_pcb_purge) -
why there is a check for the state to be LISTEN , TIME_WAIT or CLOSED.
If the pcb is going to be removed , whould have expected to delete all the
segments on this socket? - Doesn't this could cause to memory leak?
Thanks.
[This message was sent through the lwip discussion list.]