Start Back Next End
  
ZBasic System Library
ZBasic Microcontrollers
46
Wifi.GetHostname
Type
Function returning String
Invocation
Wifi.GetHostname()
Discussion
This function returns the name identifying the ESP8266 network interface on the network.  By default, the
host name is derived from the MAC address of the WiFi network interface but it can be set to another
name using Wifi.SetHostname().  The actual host name is not important for most network operations
but having it set to a familiar or recognizable name may facilitate better understanding of DHCP logs, etc.
Previous page Top Next page