On Mar 10, 10:06 am, Minesh Patel wrote:
> On Mon, Mar 9, 2009 at 2:47 PM, wrote:
> > I'm trying to figure out parallel process python code. Something
> > similar to fork funtion in C.
>
> > For example, I using sniff tool in scapy to capture packets but i want
> > this to run in the background:
I'm trying to figure out parallel process python code. Something
similar to fork funtion in C.
For example, I using sniff tool in scapy to capture packets but i want
this to run in the background:
---
from scapy.all import *
import subprocess
import netsnmp
pkts=sniff(iface="eth0",filter="UD