danbicks wrote:Works a treat
int rc = WiFi.hostByName("www.yahoo.com", address);
Serial.print("Check IP return: "); Serial.println(rc);
Serial.println(address);
Cheers Dans
Thanks, it indeed does work like a charm.
FYI for others: declare the address variable like this:
IPAddress address;