1
Network / Re: How to manage NO Internet Connection?
« on: July 17, 2017, 11:17:14 am »
Thank you for your answer.
I tried like this:
I don't care about the time out, it can also take some seconds (or i can set a notblock socket).
The problem is the same, when i turn off my wifi, the process stucks at socket.connect(..).
UPDATE
I found out that the problem occurs when or the wifi module is off or when it is not connected to a wireless network.
So by now i need a is connected to a network, not to a server. Any ideas?
Thank you!
Alessandro Amedei, Florence.
I tried like this:
(click to show/hide)
I don't care about the time out, it can also take some seconds (or i can set a notblock socket).
The problem is the same, when i turn off my wifi, the process stucks at socket.connect(..).
UPDATE
I found out that the problem occurs when or the wifi module is off or when it is not connected to a wireless network.
So by now i need a is connected to a network, not to a server. Any ideas?
Thank you!
Alessandro Amedei, Florence.