Pcap

Modified pcap to capture up to 500 packets, and make it print destination IP's to stdout and errors to stderr. Created a basic python script that runs pcap as a subprocess and reads the stdout and stderr and prints it out.

Isn't there any type of library that implements this for you?