pcapy
pcapy copied to clipboard
Make pcapy Reader object selectable
The python select
module supports selecting on objects which provide a fileno()
method. In order to allow selecting more seamlessly on Reader
objects, I suggest adding a method like this:
def fileno(self):
return self.getfd()
I'd be happy to open a PR if this sounds like something that could get merged.