network_resolve

Resolves the IP of a given URL.

Syntax:

network_resolve(url);


Argument Description
url The URL to get the IP of (a string).


Returns: String


Description

This function will return the IP address of the given URL.


Example:

game_ip = network_resolve("www.macsweeneygames.com");

The above code will return the IP address of the given URL and store it in the variable "game_ip".


Back: Networking
Next: network_set_config
© Copyright YoYo Games Ltd. 2018 All Rights Reserved