Commit 0d914dfd authored by Jeremy Shaw's avatar Jeremy Shaw Committed by Alexandre Julliard

Remove forced WS_SO_REUSEADDR on all binds.

parent eb10f347
...@@ -1301,12 +1301,6 @@ int WINAPI WS_bind(SOCKET s, const struct WS_sockaddr* name, int namelen) ...@@ -1301,12 +1301,6 @@ int WINAPI WS_bind(SOCKET s, const struct WS_sockaddr* name, int namelen)
} }
else 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) if (bind(fd, uaddr, uaddrlen) < 0)
{ {
int loc_errno = errno; int loc_errno = errno;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment