commit | 04fd1c789677fe121cb9546c652d088c994477fb | [log] [tgz] |
---|---|---|
author | Sebastian Ottlik <ottlik@fzi.de> | Wed Oct 02 12:23:16 2013 +0200 |
committer | Stefan Weil <sw@weilnetz.de> | Wed Oct 02 19:20:31 2013 +0200 |
tree | 39767c2a7cf6823180bf418c3bf98599a41cbba6 | |
parent | aad1239a7e15f42c0b8a802433582c48417a4541 [diff] |
util: call socket_set_fast_reuse instead of setting SO_REUSEADDR SO_REUSEADDR should be avoided on Windows but is desired on other operating systems. So instead of setting it we call socket_set_fast_reuse that will result in the appropriate behaviour on all operating systems. Signed-off-by: Sebastian Ottlik <ottlik@fzi.de> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de>