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: Wed, 12 May 2010 22:33:26 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Update of patch #6865 (project lwip):

                  Status:               Need Info => Done                   
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #18:

Done. tcp_bind() now virtually allows any combination of double-used
ports/addresses since there is no way to check it at that point (since the
remote IP/port is unknown at that point).

Instead, tcp_connect() checks for a unique 5-tuple for active connections,
passive connections rely on the remote IP/port being unique.

I did it this way after checking what linux allows and what it doesn't, so
it's a bit different to other OSes (especially windows, I guess), but since
the (opengroup-)spec doesn't say much about the details, that's OK with me.

Please reopen if there are still problems with SO_REUSEADDR.

    _______________________________________________________

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]