pingHost (method)
Pings a host.
Syntax
- (void)pingHost:(NSString*)host;
public func pingHost(_ host: String) throws -> Void
Remarks
This method will ping a host. A valid internet domain name or address must be specified in Host, or an error will be returned.
PING request (ICMP ECHO) is sent to Host.
Example (Ping a Host)
PingControl.PingHost("MyHostName") ResponseTime = PingControl.ResponseTime