Product Information > JADE Encyclopaedia of Classes – Volume 1 > Chapter 1 - System Classes > getLocalHostname

getLocalHostname

getLocalHostname(): String;

The getLocalHostname method of the JadeMultiWorkerTcpConnection class returns a string containing the generic host name (computer name) associated with the localAddress property.

This method returns a null string ("") if the Domain Name Server (DNS) look-up fails or the local host name cannot be resolved.