dnsServerIP()


Description

Returns the DNS server IP address for the device.

Syntax

Phpoc.dnsServerIP()

Parameters

none

Returns

the DNS server IP address for the device (IPAddress).

Example

#include <SPI.h>
#include <Phpoc.h>

void setup()
{
  Serial.begin(9600);

  if(Phpoc.begin() == 0)
  {
    Serial.println("Failed to initialize Network");
    for(;;)
      ;
  }
  Serial.println(Phpoc.dnsServerIP());
}

void loop()
{
}