|
From: Stephan M. <ste...@we...> - 2006-06-19 20:50:15
|
usb_reap_async() returns the number of bytes read or a value of <0 if an error occured. > usb_reap_async(context0, 5000);is waiting for the OV event. How would I find > out how many bytes were actually read? OV read does not need to fill the > number that was requested. -Andrew----- Original Message ----- > From: "Stephan Meyer" <ste...@we...> > To: <lib...@li...>; "Andrew Xiang" > <xi...@gr...> > Sent: Monday, June 19, 2006 12:44 PM > Subject: Re: [Libusb-win32-devel] win-libusb async read > > > > > > See > > > > http://sourceforge.net/mailarchive/message.php?msg_id=10083829 > > > > > > > > > I got the simple bulk write/read to work. However, I would like to have > a > > > thread waiting on the read all the time and process the read data > > > independent of the write. How would I implement async read using the > libusb? > > > anyone has an example? > > > > > > thanks > > > Andrew > > > > > > > > > > > > _______________________________________________ > > > Libusb-win32-devel mailing list > > > Lib...@li... > > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > > > ______________________________________________________________________ > > XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! > > Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130 > > > > > > > > _______________________________________________ > > Libusb-win32-devel mailing list > > Lib...@li... > > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > > > > > > _______________________________________________ > Libusb-win32-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000071 |