https://github.com/php/php-src/blob/49fdf496e2b6d6348941a7bf0437d5cf89e307f6/main/streams/xp_socket.c#L880 ```c if (clisock >= 0) { ``` This condition will never be true on Windows, because the type `php_socket_t` is `UINT_PTR`, and the value `-1` will always be greater than zero. **Correct fix:** introduce the `INVALID_SOCKET` constant for both platforms. ⚠️ This issue causes timeout warnings not to be displayed on Windows.