[SDL] SDL_net Socket listeners not unique?
forcemaster at gmx.net
Thu Sep 22 03:22:55 PDT 2005
Ok I just checked it with win32 and it seems that it allows multiple
server to bind to the same port with the same address there. And servers
seem to be able to just reuse the port after they have been restarted
even without SO_REUSEADDR. So this option is not needed at all for non
POSIX conform win32.
So it is a bug in SDL_net but it is easily fixed by adding a
#ifndef(WIN32) int SDLnetTCP.c around the related setsockopt.
More information about the SDL