[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #22020] tcp_bind() for listen connection fails when co
[lwip-devel] [bug #22020] tcp_bind() for listen connection fails when connection on this port is active
Tue, 15 Jan 2008 19:11:44 +0000
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:220.127.116.11) Gecko/20071127 Firefox/18.104.22.168
Follow-up Comment #5, bug #22020 (project lwip):
> I may have misunderstood the problem being described though.
No you haven't. And thanks for the link to the explanation. The thing that
was missing for me is that only on windows the following code seems to work,
while it doesn't on linux & lwIP:
s1 = socket()
s2 = accept(s1)
from the second loop on, bind fails under linux and lwIP. The reason for this
is that on windows, only the client side is in TIME_WAIT, the server side is
closed right away.
I wonder if there is any standard on this...?
Reply to this item at:
Nachricht geschickt von/durch Savannah