Skip to main content

Module ping

Module ping 

Source

Functionsยง

ping_all
Ping all given hosts with a concurrency limit of 10. Spawns a coordinator thread that uses a semaphore-style channel to limit concurrent pings, preventing thread explosion on large host lists.
ping_host
Ping a single host by attempting a TCP connection on the configured port. Sends the result back via the channel.