I solved the problem. Maybe i ask some questions later
I solved the problem. Maybe i ask some questions later
Last edited by QQemka; 07-03-2012 at 10:09 AM.
Im using codeblocks, when im trying to compile simple programs from tutorial WinPcap: Obtaining the device list im gettin errors
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|4|warning: return type defaults to 'int'|
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c||In function 'main':|
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|warning: implicit declaration of function 'pcap_findalldevs_ex'|
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|error: 'PCAP_SRC_IF_STRING' undeclared (first use in this function)|
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|error: (Each undeclared identifier is reported only once|
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|11|error: for each function it appears in.)|
C:\Documents and Settings\QQemka\Pulpit\qqqqqqq\sn.c|30|warning: 'return' with no value, in function returning non-void|
||=== Build finished: 3 errors, 3 warnings ===|
Is it possible that this library cannot complie in codeblocks??
All i need is to write simple sniffer showing packets coming to and out of application, with ability to send some modified packets
Last edited by QQemka; 07-03-2012 at 11:05 AM.