# net_tcp_ping

Ping a host using ICMP.

```rhai
net_tcp_ping(host: &str) -> bool
```

## Examples

```rhai
if net_tcp_ping("google.com") {
    print("Host is reachable");
}
```

```rhai
let server = "192.168.1.1";
if !net_tcp_ping(server) {
    print("Server is down!");
}
```
