Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Setting TimeOut parameter to zero in XferData call
Question: If you specify a timeout of zero, does the call return at once and say whether the transfer has completed?
TimeOut limits the length of time that a XferData call will wait for the transfer to complete. The units of TimeOut are milliseconds. For CyControlEndPoint, a TimeOut of 0 will wait forever unless the transaction completes. TimeOut has no effect on Isochronous endpoints since they will always transfer data or fail immediately.
Also, For CyControlEndPoint, the TimeOut is rounded down to the nearest 1000 ms, except for values between 0 and 1000 which are rounded up to 1000.