On 09/10/2013 07:26 AM, Sebastian Ottlik wrote: > 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. > > An exception to this rule are multicast sockets where it is sensible to have > multiple sockets listen on the same ip and port an we should set SO_REUSEADDR on s/an/and/ > windows. > > Signed-off-by: Sebastian Ottlik > --- > net/socket.c | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org