All,
�
In pcap_open() method there is a field to specify timeout but i wanted to specify
while reading the packets because my timeout parameter can change. But pcap_next_ex()
does not take any timeout parameters.
�
So looks like in loop�i have to do open ,read then close so every time i open i can
change tmeout parameter.
�
while(1){
����� fp=pcap_open(..., timeout, ...);
������pcap_next_ex(...);
��������� |
��������� |
�
����� pcap_close();
����� timeout=something;��
}
�
Any one has better solution. So that i don't have to reopen every time.
�
Thanks,
Devesh
================================================================= This is the WinPcap
users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
=================================================================