Using multiple threads with pcapy

Discussion in 'Python' started by billie, Sep 14, 2005.

  1. billie

    billie Guest

    Hi all. Because of pcapy sniffng library doesn't permit to listen on
    multiple interfaces I'm trying to use threads to avoid this problem.
    In the source below I tried to start a thread for every NIC installed on my
    system (I got 2 NICs) but once I started the first thread the program can't
    go further.
    Note that the first trhread works properly (I can sniff traffic) but the
    problem is that the second thread regarding the other NIC never starts.
    Does someone got any suggestion?

    Thanks in advance.

    http://rafb.net/paste/results/0NHfUm76.html
     
    billie, Sep 14, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CORE Security Technologies
    Replies:
    1
    Views:
    2,149
    Jeff Wagner
    Nov 28, 2003
  2. CORE Security Technologies
    Replies:
    0
    Views:
    301
    CORE Security Technologies
    Nov 27, 2003
  3. billiejoex
    Replies:
    2
    Views:
    491
    billiejoex
    Aug 26, 2005
  4. billiejoex
    Replies:
    2
    Views:
    546
    billiejoex
    Aug 27, 2005
  5. billiejoex

    pcapy listen on multiple devices

    billiejoex, Sep 12, 2005, in forum: Python
    Replies:
    1
    Views:
    452
    Jorgen Grahn
    Sep 17, 2005
Loading...

Share This Page