-->
Page 2 of 2

Re: Obtaining ip adress of a remote server

PostPosted: Tue May 31, 2016 7:18 pm
by Solexious
Humm, the NTPClient compiles correctly and that uses that call. I think it may be linked to one of the other libraries I'm using:
Code: Select all#include <ArduinoJson.h>
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h>
#include <WiFiUdp.h>
#include <Artnetnode.h>
#include <Ticker.h>
#include "FS.h"


Maybe WiFiManager as that sets up the WiFi connection for me... Will take a look.

Re: Obtaining ip adress of a remote server

PostPosted: Tue May 31, 2016 7:56 pm
by Solexious
/me face palms

I was using hostbyname not hostByName