Following discussion, the code change now simply detects socket timeouts and returns an exit code of 2 when these happen.
This is indicative of the USB B port being used, but could also mean a slow start up - external logic is required to distinguish between the two cases.
Following discussion, the code change now simply detects socket timeouts and returns an exit code of 2 when these happen.
This is indicative of the USB B port being used, but could also mean a slow start up - external logic is required to distinguish between the two cases.