mirror of https://gitee.com/openkylin/qemu.git
bcbe92fb08
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 and we should set SO_REUSEADDR on windows. Signed-off-by: Sebastian Ottlik <ottlik@fzi.de> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> |
||
---|---|---|
.. | ||
Makefile.objs | ||
checksum.c | ||
clients.h | ||
dump.c | ||
eth.c | ||
hub.c | ||
hub.h | ||
net.c | ||
queue.c | ||
slirp.c | ||
socket.c | ||
tap-aix.c | ||
tap-bsd.c | ||
tap-haiku.c | ||
tap-linux.c | ||
tap-linux.h | ||
tap-solaris.c | ||
tap-win32.c | ||
tap.c | ||
tap_int.h | ||
util.c | ||
util.h | ||
vde.c |