Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Send and receive packets (sr)




basic ping / ICMP
ans, unans = sr(IP(dst=subnet+"."+str(1)+"-"+str(6))/ICMP(),timeout=0)