Click or drag to resize

IPResolveHostname Method

Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the IPType constant given as ip_type.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static string ResolveHostname(
	string host,
	IPType ipType = IPType.Any
)

Parameters

host
Type: SystemString

[Missing <param name="host"/> documentation for "M:Godot.IP.ResolveHostname(System.String,Godot.IP.Type)"]

ipType (Optional)
Type: GodotIPType

[Missing <param name="ipType"/> documentation for "M:Godot.IP.ResolveHostname(System.String,Godot.IP.Type)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Godot.IP.ResolveHostname(System.String,Godot.IP.Type)"]

See Also