Hello,

I am using the asynchronous mode.

On Linux, it is pretty straightforward to detect device connection / 
disconnection with libusb_set_pollfd_notifiers().

I can do it in Windows too, by checking libusb_submit_transfer() return 
code and libusb_transfer::status in callback functions installed with 
libusb_fill_*_transfer().

But is there a cleaner way ?

Thanks.




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to