I’m wondering if it’s possible at all to process PCAP data using Ruby’s
pcap library when the data’s being piped through a socket. The pcap
library has capture methods for live capture from a device or offline
via a file. I’m piping PCAP data from a remote machine to my machine
using netcat, and I want to be able to process it in real-time on my
Does anyone know if I can pass an IO handle to the offline method in the
Ruby pcap library?