[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [lwip-devel] [bug #22020] tcp_bind() for listen connection failswhen
RE: [lwip-devel] [bug #22020] tcp_bind() for listen connection failswhen connection on this port is active
Tue, 15 Jan 2008 09:54:49 -0500
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of Kieran Mansley
> Sent: Tuesday, January 15, 2008 9:45 AM
> To: Kieran Mansley; Oleg Tyshev; Simon Goldschmidt; address@hidden
> Subject: [lwip-devel] [bug #22020] tcp_bind() for listen connection
> failswhen connection on this port is active
> Update of bug #22020 (project lwip):
> Status: None => Wont Fix
> Open/Closed: Open => Closed
> Follow-up Comment #2:
> That's what I thought too. Closing this as "wont fix"
Standard use of the lwIP API causes this problem. The user will need to add
code following a tcp_close to wait (somehow) for the connection to be really
closed or the listen pcb is lost. Or, the listen pcb needs to be maintained
by the application and manually release outside of the API which seems to
counter of the use of an API for maintaining connections.
Why dismiss this so quickly? I didn't reuse the port - the connection was
closed normally before reopening it.