
deri at ntop
May 10, 2012, 9:29 AM
Post #2 of 2
(201 views)
Permalink
|
Yann why not select() if(packet received) then pfring_recv() Cheers Luca On May 10, 2012, at 4:31 PM, Y J wrote: > Hello Luca, > > We are trying to add a timeout feature on pf_ring_recv function. > Do you have any advise on “how to”. > Our idea is to use select with a timeout on the socket between userland and ring. > > Is that the correct way? > > Yann > _______________________________________________ > Ntop-misc mailing list > Ntop-misc [at] listgateway > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
|