pcapy icon indicating copy to clipboard operation
pcapy copied to clipboard

Make pcapy Reader object selectable

Open brianmaissy opened this issue 6 years ago • 0 comments

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.

brianmaissy avatar May 17 '18 06:05 brianmaissy