tcpdump mailing list archives

timeout in linux


From: "fcarone" <fcarone () click21 com br>
Date: 14 Jun 2004 11:11:26 -0300

Hello! Im new in programming with libpcap and im using the libpcap0.8.3, and i´d like to know if the timeout works in 
linux RH9 kernel 2.4.20. I set the timeout in cap_open_live with a value of 2000ms and im using the function 
pcap_next_ex and checking the value returned, but it never returns 0 (i think this is the value tha returns when there 
is a timeout...).



___________________________________________________________________________________
Acesse nosso portal www.click21.com.br

Porque internet grátis, nem a Embratel pode fazer mais barato. Mas pode fazer melhor.


-
This is the tcpdump-workers list.
Visit https://lists.sandelman.ca/ to unsubscribe.


Current thread: