Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select does not return correctly when the device is disconnected #18

Closed
AiXanadu opened this issue Mar 21, 2022 · 0 comments
Closed

select does not return correctly when the device is disconnected #18

AiXanadu opened this issue Mar 21, 2022 · 0 comments

Comments

@AiXanadu
Copy link

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

image

Am I doing something wrong? (Currently only tested on Windows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant