[Winpcap-users] pcapt_open_live ( ) function, how it works?

rajath kumara rajathkumara at gmail.com
Sun Jul 17 08:02:57 PDT 2011


Hi,

 I wanted to clarify what this func pcap_next_ex( ) and pcap_open_live(
)actually does.
The reason why i am asking is, when i use these  functions, i see some
packets generated.

for instance, in example program pckdump_ex,

code contains pcap_open_live( ) and pcap_next_ex( ), and the below printf
statement,

printf("\n\n%ld:%ld (%ld) %s\n", header->ts.tv_sec, header->ts.tv_usec,
header->len,d->name);

 i see the output as

1310721525:970437 (150) \Device\NPF_{557064F1-7C1C-49D3-9633-A7E002B01AD2}


where and how is the packet generated?


your suggestions will be valuable to me.


Thanks in advance !!!!!!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20110717/f53a7dcb/attachment.html>


More information about the Winpcap-users mailing list