在 2014年8月26日星期二UTC+8下午10时45分15秒,Chris Angelico写道:
> Where did pcap.pyx come from? What version is it? Is it something that
>
> was written for an ancient version of Python? It might be raising a
>
> string exception.
>
>
>
> ChrisA
thank you for your reply!
sorry for the terrible question
在 2014年8月26日星期二UTC+8下午10时45分15秒,Chris Angelico写道:
> Where did pcap.pyx come from? What version is it? Is it something that
>
> was written for an ancient version of Python? It might be raising a
>
> string exception.
>
>
>
> ChrisA
thank you for your reply!
sorry for the terrible question,
On Tue, Aug 26, 2014 at 8:44 PM, wrote:
> Hi,
>
>I'm using Python 2.7.6 in Centos 6.5.
>
>I have defined
>"p = pcap.pcap(timeout_ms=1000)
> def function(timestamp,pkt,*args):
>"
>and try to run "p.dispatch(-1,function)"
>
>and I got this:
>p.dispatch(-1,function)
>
Hi,
I'm using Python 2.7.6 in Centos 6.5.
I have defined
"p = pcap.pcap(timeout_ms=1000)
def function(timestamp,pkt,*args):
"
and try to run "p.dispatch(-1,function)"
and I got this:
p.dispatch(-1,function)
File "pcap.pyx", line 296, in pcap.pcap.dispatch (pcap