Thread (1 message) 1 message, 1 author, 2013-07-29

Re: A call to revise sockets behaviour

From: Artem S. Tashkinov <hidden>
Date: 2013-07-29 17:32:07
Also in: lkml

Jul 29, 2013 11:27:00 PM, rick wrote:
quoted
A wine developer clearly showed that this option simply doesn't work.

http://bugs.winehq.org/show_bug.cgi?id=26031#c21

Output of strace:
getsockopt(24, SOL_SOCKET, SO_REUSEADDR, [0], [4]) = 0
setsockopt(24, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(24, {sa_family=AF_INET, sin_port=htons(43012), sin_addr=inet_addr("0.
0.0.0")}, 16) = -1 EADDRINUSE (Address already in use)
The output of netstat -an didn't by any chance happen to still show an 
endpoint in the LISTEN state for that port number did it?

rick jones

By chance - no, nothing is/was listening. You can recreate this test in an order of few
minutes without ever trusting my word.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help