Remove forced WS_SO_REUSEADDR on all binds.

This commit is contained in:
Jeremy Shaw 2004-01-13 05:10:59 +00:00 committed by Alexandre Julliard
parent eb10f347e6
commit 0d914dfd45
1 changed files with 0 additions and 6 deletions

View File

@ -1301,12 +1301,6 @@ int WINAPI WS_bind(SOCKET s, const struct WS_sockaddr* name, int namelen)
}
else
{
int on = 1;
/* The game GrandPrixLegends binds more than one time, but does
* not do a SO_REUSEADDR - Stevens says this is ok */
TRACE( "Setting WS_SO_REUSEADDR on socket before we bind it\n");
WS_setsockopt( s, WS_SOL_SOCKET, WS_SO_REUSEADDR, (char*)&on, sizeof(on) );
if (bind(fd, uaddr, uaddrlen) < 0)
{
int loc_errno = errno;