You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before getting to the issue I would like to thank you for your well-written code and your effort.
Well I would like you to help me to have a better understanding of a scenario that could happen, imagine the port we are trying to open is not available or disconnected, there is no feedback on the opening port so the code would crash and stop.
Can we catch the error or does the code returns an integer or boolean on the port opening so we can check it? This could help us with diagnostic errors so we put it on the while loop until the port became available.
Best regards
Saeed
The text was updated successfully, but these errors were encountered:
Thank you for your quick reply, yes I have seen that and unfortunately, I couldn't add it to my code. Can you please advise Mr on how to implement on my code or provide me an example code please
Dear Geoffrey
Before getting to the issue I would like to thank you for your well-written code and your effort.
Well I would like you to help me to have a better understanding of a scenario that could happen, imagine the port we are trying to open is not available or disconnected, there is no feedback on the opening port so the code would crash and stop.
Can we catch the error or does the code returns an integer or boolean on the port opening so we can check it? This could help us with diagnostic errors so we put it on the while loop until the port became available.
Best regards
Saeed
The text was updated successfully, but these errors were encountered: