Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - alessandroAmedei

Pages: [1]
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:

(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.



2
Network / How to manage NO Internet Connection?
« on: July 16, 2017, 01:56:01 pm »
Hi, i would like to allert the client that there is not internet connection. The problem is that when i try to se the host in a http object, the process stuck, and i can't even catch an std::exception.
How can i get if there is not internet connection? Thank you.
Alessandro Amedei, Florence.

Pages: [1]