TCP sockets and SO_REUSEADDR
Thomas Themel
thomas at themel.com
Fri Aug 27 02:38:59 PDT 2010
Hi,
is there any reason why SO_REUSEADDR isn't set when opening a TCP listen socket
on Unix? I try to have a somewhat productive setup that includes running a
custom DBus config with TCP listeners, but killing and restarting the
dbus-daemon is tiresome because I have to wait for the TIME_WAIT sockets from
ex-clients to disappear before coming back up. Patch vs HEAD attached.
ciao,
--
[*Thomas Themel*] Frankly, many of you on this list really need to
[extended contact] be doused with gasoline and then lit.
[info provided in]
[*message header*] - Tim May on cypherpunks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-SO_REUSEADDR-when-creating-a-TCP-listen-socket-o.patch
Type: application/octet-stream
Size: 1202 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100827/7eada948/attachment.obj>
More information about the dbus
mailing list