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: Sat, 13 Feb 2010 23:07:57 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Follow-up Comment #14, patch #6865 (project lwip):

> Not sure I followed your point about "binding listen pcbs to 
> ports used by non-listen pcbs". I didn't mean to say that and I 
> don't think linux allows it.

I don't know about linux and it wasn't about what you said but about
something I read somewhere on the web about SO_REUSERADDR - after all
information on the web got me very confused about what's supported on which
platform...

The case was this
- listen server started
- accepts a connection
- server stops (i.e. listen socket closed)
- server restarted -> connection from point 2 still active

at this point, you might need SO_REUSEADDR on some systems while you wouldn't
on others. I'd have to check what lwIP does, but given the tcp_bind() function
I have in my mind, it won't allow it currently.

    _______________________________________________________

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]