DNS utility methods.
More...
◆ resolveWithHostname:
Resolves a host name to an IP address.
- Parameters
-
| hostname | The host name to resolve. |
◆ resolveWithName:callback:state:
| + (void) resolveWithName: |
|
(NSString *) |
name |
| callback: |
|
(FMLiveSwitchAction2< NSMutableArray *, id > *) |
callback |
| state: |
|
(id) |
state |
|
|
| |
Resolves a host name to an IP address.
- Parameters
-
| name | The name to resolve. |
| callback | The callback to invoke when resolution is complete. |
| state | A custom state object to pass into the callback. |
◆ resolveWithName:callbackBlock:state:
| + (void) resolveWithName: |
|
(NSString *) |
name |
| callbackBlock: |
|
(void(^)(NSMutableArray *, id)) |
callbackBlock |
| state: |
|
(id) |
state |
|
|
| |
Resolves a host name to an IP address.
- Parameters
-
| name | The name to resolve. |
| callbackBlock | The callback to invoke when resolution is complete. |
| state | A custom state object to pass into the callback. |
◆ resolveWithNameAndCallbackBlockAndState
| + (NSMutableArray*, id) resolveWithNameAndCallbackBlockAndState |
|
|
|
Resolves a host name to an IP address.
@inlineparam name The name to resolve. @inlineparam callbackBlock The callback to invoke when resolution is complete. @inlineparam state A custom state object to pass into the callback.