Sha256: 64761e97f879c55b7861e4116f357ecbedf4e9cb6ac572e43d73ba0c7ec6ecd5
Contents?: true
Size: 183 Bytes
Versions: 6
Compression:
Stored size: 183 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'pcap' dev = Pcap.lookupdev cap = Pcap::Capture.open_live(dev) cap.setfilter("ip") cap.loop do |pkt| print pkt, "\n" end cap.close
Version data entries
6 entries across 6 versions & 3 rubygems