April 10, 2020
11:15 a.m.
Ciao, i have a Pharo 7.0.3 image run on Ubuntu system. Sometime the internet connection go down. In this status when i do the: NetNameResolver addressForName: 'www.esug.org' timeout: 1 the system is busy for 20 seconds ( for any request ). The timeout: 1 is not considered. Question: how i can test if the internet connection is up before submit any NetNameResolver request ? Googling in VisualBasic i found the ActiveConnection It return true if internet connection is active. Equivalent in Pharo - Gemstone ? Thanks, Dario