Difference between revisions of "GETREMOTEHOST()"

From Lianjapedia
Jump to: navigation, search
Line 20: Line 20:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Environment]]
 
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]

Revision as of 08:28, 7 December 2012

Purpose

Function to return the hostname of the client that is connected to the Recital Server

Syntax

GETREMOTEHOST()

See Also

GETLOCALHOST(), GETREMOTEADDR(), GETREMOTEUSER(), ISSERVER()

Description

The GETREMOTEHOST() function returns the hostname of the client that is connected to the Recital Server. The address is returned as a character string.

An empty string will be returned if the function is not being run via the Recital Server or if the client does not have a hostname defined.

Example

mCurrentHostName = getremotehost()