Hi, all,

I have a question about the block of pcap_dispatch(). When pcap_dispatch is 
blocked in the time specified by pcap_open_live(), a signal is delivery to it 
and the signal handler is invoked and then return,
1) Will the blocked pcap_dispatch() be interrupted? 
2) If the blocked pcap_dispatch() is interrupted, will the errno be set to 
EINTR?

Thanks in advance!

wei

======================================================================
Wei Qu
Graduate Student, Research Assistant
Faculty of Computer Science, Dalhousie University
E_Mail : [EMAIL PROTECTED]
Home   : http://www.cs.dal.ca/~wei
**********************************************************************
May you have warm words on the cold evening, a full moon on the dark
night, and a smooth road all the way to your door.
======================================================================

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to