Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Solexious
#48302 Hey all,

I might just be using the wrong terms to search for this, but I cant find how to:

I want to get the ip address of an address, i.e. control.myserver.com to use elsewhere in my script, how can I look that up (within the esp)?

Cheers

Sol
User avatar
By Solexious
#48354 Having a few issues using the class, I'm currently including:
Code: Select all#include <ESP8266WiFi.h>

That should include ESP8266WiFiGeneric.cpp

But when I try:
Code: Select all    IPAddress ipa;
    WiFi.hostbyname(serverName, &ipa);


I get:
Code: Select all'class ESP8266WiFiClass' has no member named 'hostbyname'


I'm currently running version 2.3.0-rc1 of the library installed via the board manager.

Any ideas why I can't seem to call it?