What should be result of updating host variable?

Hi Becky, in the WiFiClientBasic example, after changing the code from
192.168.1.1 to a Google site, I would just see in Serial monitor : 'connecting to google.com' and on the next line
'closing connection' and 'wait 5 sec...'.

Should there be an opened Google web site or some message in Serial monitor? What should be expected on display?

The first part of software was OK. Wifi connected and IP address detected.

I am using NodeMcu ESP8266


bekathwia2 months ago

Looks good! No website launch or anything like that, just no errors and you did it properly. Changing the host name just gives you an easy way to dip your toe in the water of modifying code, there won't be much difference provided it's a valid site name. =D Press on!