I am listening to devices in an application.
When a device is connected, I read some device data.
Now, when I quickly unplug the device, it may return 1 (device disconnected) if run right before select() , however subsequent send/recv blocks and never returns.
Here is some information I found
Am I doing something wrong? (Currently only tested on Windows)
I am listening to devices in an application. When a device is connected, I read some device data. Now, when I quickly unplug the device, it may return 1 (device disconnected) if run right before select() , however subsequent send/recv blocks and never returns.
Here is some information I found
Am I doing something wrong? (Currently only tested on Windows)