Traceroute.Ping (traceroute v0.2.3)

View Source

Sends a Ping request to a domain and returns the request time and response data.

Summary

Functions

Send a Ping request to a given domain.

Functions

run(domain_or_ip, opts)

Send a Ping request to a given domain.

Returns {:ok, result} where result is one of:

  • %Probe{} - An intermediate router responded
  • %DestinationReached{} - The destination was reached

Or {:error, reason} on failure.