DNS utility methods. More...
Static Public Member Functions | |
static fm.liveswitch.Future< String[]> | resolve (String hostname) |
Resolves a host name to an IP address. More... | |
static void | resolve (String name, fm.liveswitch.IAction2< String[], Object > callback, Object state) |
Resolves a host name to an IP address. More... | |
DNS utility methods.
|
static |
Resolves a host name to an IP address.
hostname | The host name to resolve. |
|
static |
Resolves a host name to an IP address.
name | The name to resolve. |
callback | The callback to invoke when resolution is complete. |
state | A custom state object to pass into the callback. |