lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #6865] SO_REUSEADDR for TCP


From: Simon Goldschmidt
Subject: [lwip-devel] [patch #6865] SO_REUSEADDR for TCP
Date: Fri, 12 Feb 2010 16:37:09 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Update of patch #6865 (project lwip):

                  Status:                    Done => Need Info              

    _______________________________________________________

Follow-up Comment #10:

I slightly change the patch to use pcb.so_options and SOF_REUSEADDR instead
of pcb.flags and TF_REUSEADDR (which I removed). This way it will be easier to
integrate with socket options in the future.

Currently, this is still disabled at socket level since it's not fully
implemented: The code and the define to enable it is there but init.c checks
that it isn't used...

To come back on my question in comment #4: what happens if there are 2 FTP
clients running at the same time on one PC connecting the server (e.g. port
1023 and port 1024)? I think the server would try to open 2 connections
(20:1023 and 20:1024), which will fail since binding to port 20 fails (same
local address and port, remote not checked).

How do other stacks handle this?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6865>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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