Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Any chance that this patch (or something similiar) will be applied?
Scapy's Windows port would tremendously benefit from that. 
We've been shipping our own patched pypcap version [1] for over a year now and 
it
works nicely on Windows XP, but there are problems with Vista and I'd rather 
point
our users to the official pypcap version.

Thanks again for developing this nice library. 

Regards
Dirk

[1] http://trac.secdev.org/scapy/wiki/PypcapScapyWin

Original comment by [email protected] on 19 Feb 2009 at 8:02

from pypcap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Applied. I truly apologize for the delay. Jeez. Life.

Original comment by dugsong on 15 Dec 2009 at 3:12

  • Changed state: Fixed

from pypcap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Thank you very much for the fix!

My patch had a little error: in the docstring for the pcap class (line 149) 
"immediate=False, timeout_ms=None" should be switched to truly correspond with
pcap.__init__(). Maybe you'll want to change that. 

Thanks again,
Dirk

Original comment by [email protected] on 16 Dec 2009 at 8:37

from pypcap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
I did the change in the docstrings (also in the first line of the docstrings).

however this patch was a bit broken, you can see a new one checked in as r94 if 
you are interested.

Original comment by [email protected] on 13 Jul 2010 at 11:02

from pypcap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
[deleted comment]

from pypcap.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 28, 2024
Yes, but if you check well in the code the select try to read on the 
filedescriptor every 1 second. Why setting a timeout if it doesn't return 
anything below 1 second ?
And plus from my C knowledge i think the timeout should be set in the for loop 
and not outside.

I think this library need an heavy rewrite.

Original comment by [email protected] on 12 Jul 2013 at 1:41

from pypcap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.