Don't just drop out the bottom of the function on timeout.
If we don't get one of the commands we're waiting for, close the socket and exit instead of returning with the appearance of having received one.
Please register or sign in to comment
If we don't get one of the commands we're waiting for, close the socket and exit instead of returning with the appearance of having received one.