lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [lwip] tcp_pcb_purge() function - question


From: lwip
Subject: [lwip-users] [lwip] tcp_pcb_purge() function - question
Date: Wed, 08 Jan 2003 22:38:11 -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.]




reply via email to

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