Fix invalid ioctl call
The `request` parameter is unsigned long, not int. This was invalid on macOS and caused issues when sockets were considered non-blocking. Also adds an error log if the call fails. Thanks @likuilin for opening an issue that led to this discovery.master
parent
d254a72ae4
commit
950c5153d7
Loading…
Reference in New Issue