library(tsharrk)
loc <- tryCatch(
find_tshark(),
error = function(e) message("No tshark")
)
tryCatch(
tshark_hosts(system.file("pcap", "http.pcap", package = "tsharrk")),
error = function(e) message("No tshark")
)
tryCatch(
packet_summary(system.file("pcap", "http.pcap", package = "tsharrk")),
error = function(e) message("No tshark")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.