|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #22020] tcp_bind() for listen connection fails when connection on this port is active |
Date: | Mon, 14 Jan 2008 14:58:37 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 |
URL: <http://savannah.nongnu.org/bugs/?22020> Summary: tcp_bind() for listen connection fails when connection on this port is active Project: lwIP - A Lightweight TCP/IP stack Submitted by: goldsimon Submitted on: Montag 14.01.2008 um 14:58 Category: TCP Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: _______________________________________________________ Details: This was discussed on lwip-users: http://lists.nongnu.org/archive/html/lwip-users/2008-01/msg00034.html To summarize the report of lwip_users: - create listen pcb - accept connection - close listen pcb - process connection - close connection - create new listen pcb -> fails since tcp_bind() fails: the port is still used since the previous connection is still in a wait state Question: is this behaviour correct or should a listen pcb be allowed when a connection is active (or in a wait state) on this port? Having a quick look over the tcp rfc, I didn't find an answer to this question... _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?22020> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |