diff options
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/socket.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c index 6c268d4c1f..0a9cf30784 100644 --- a/ext/socket/socket.c +++ b/ext/socket/socket.c @@ -1097,11 +1097,6 @@ init_inetsock_internal(arg) } arg->fd = fd; if (type == INET_SERVER) { -#ifndef _WIN32 - status = 1; - setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, - (char*)&status, sizeof(status)); -#endif status = bind(fd, res->ai_addr, res->ai_addrlen); syscall = "bind(2)"; } |