hello friends
In my case too I was unable to use isconnected() to verify the connection state in a script,
the result would be the same no matter if connected or disconnected.
Why it does happen , I have no idea.
when testing this same function in the repl, it seemed to work.
The workaround was to do an actual connection to some site and verify if it got some data or not.
In my case too I was unable to use isconnected() to verify the connection state in a script,
the result would be the same no matter if connected or disconnected.
Why it does happen , I have no idea.
when testing this same function in the repl, it seemed to work.
The workaround was to do an actual connection to some site and verify if it got some data or not.
Statistics: Posted by fangis — Sat Jun 10, 2023 1:26 am