Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.2

Description

Description: Returns the IP address of the machine hosting the current game.

Syntax

Syntax: hostAddress
Parameters:
Return Value: String - IP address in format "nnn.nnn.nnn.nnn:port".
For a local hosted server it is always "127.0.0.1:port" (localhost); for a local dedicated server (even if on the same machine) it is the full address (e.g. "10.0.10.153:2023").

Examples

Examples: _ip = hostAddress

Additional Information

See also: isDedicated, isOnDedicated, isServer
Multiplayer: 
Problems: 

Notes