[Winpcap-users] pcap_loop not working
LeeGilbert
gilgil1973 at hotmail.com
Wed Mar 5 00:39:04 UTC 2014
It may be forward declarition error.
Declear the function before using the function(at the top of the source code).
void packet_handler(u_char *param, const struct pcap_pkthdr *header, const u_char *pkt_data);
From: bishnu.maharjan2012 at hotmail.com
To: winpcap-users at winpcap.org
Date: Tue, 4 Mar 2014 17:43:05 +0000
Subject: [Winpcap-users] pcap_loop not working
I am using visual studio 2012 and despite of including the header files I get the Error 1 error C2065: 'packet_handler' : undeclared identifier error and the source code is copy pasted from the winpcap’s official site.
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20140305/3ec200e0/attachment.html>
More information about the Winpcap-users
mailing list