extend("net")

net:ping([
  dest: "cube.nu11.uk",
  count: 5
], slog)

localhost_ping = net:ping("127.0.0.1", slog)

net:ping([
  dest: "cube.nu11.uk",
  count: 5
], slog)

eight_ping = net:ping([
  dest: "8.8.8.8"
], slog)

nine_ping = net:ping([
  dest: "9.9.9.9",
  interval: 100, // millseconds
  count: 20
], slog)

net:stop(localhost_ping)



