setsockopt 241 ext/socket/basicsocket.c if (setsockopt(fptr->fd, level, option, v, vlen) < 0) setsockopt 94 ext/socket/ipsocket.c setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, setsockopt 3607 win32/win32.c r = setsockopt(TO_SOCKET(s), level, optname, optval, optlen);