10-02-2008 10:26 AM - edited 10-02-2008 10:26 AM
I'm trying to use a Datasocket with a timeout of 40sec to access a device via an IP address. I am interfacing to a wireless device that may take up to 30 seconds to reset.
Unfortunately an error 1184 will occur prior to the Timeout and cut my time to around 20 seconds? I have figured out away to get around this, i.e., clear the error and or warnings and retry.
Is this normal operation for the Datasocket? I mean shouldn't a Timeout work so that all options are exhausted until the Timeout and then return an error code?
Regards,
-SS
10-02-2008 01:26 PM
I have never used such big timeout. Try to set Timeout to 5 seconds and reconnect up to 8 times... Advantage - you can cancel connect procedure, otherwise your software will not respond half minute... regards, Andrey.