Hello everyone,
I am having a weird issue when using ConnectToTCPServer to connect to a barcode scanner.
The first attempt at connecting will always fail due to a timeout error, but then if I immediately call the function and try again, it connects without issue. I have tried increasing the timeout value to see if that was the issue, but no matter how large I make it, it will always fail on the first attempt.
I am using the same function to connect to a printer, and I am having no issues with that.
Has anyone experienced this issue before or know how I can resolve it?
Thanks!