On Windows, `ioctlsocket` returns `len` as an unsigned long. On Posix, `ioctl` returns `len` as an int. This aims to fix #41287 bug, which was seen on Linux. The implementation is just a new macro that is set with the proper type for each platform.
On Windows, `ioctlsocket` returns `len` as an unsigned long. On Posix, `ioctl` returns `len` as an int. This aims to fix #41287 bug, which was seen on Linux. The implementation is just a new macro that is set with the proper type for each platform.