SDLNet.IPAddress.from_host:


Description:

public static int from_host (SDLNet.IPAddress address, string host, uint16 port)
Resolve a host name and port to an IP address in network form.

Returns:

If the function succeeds, it will return 0. If the host couldn't be resolved, the host portion of the returned address will be INADDR_NONE, and the function will return -1. If 'host' is NULL, the resolved host will be set to INADDR_ANY.

created by valadoc