<div dir="ltr">Hi,<div><br></div><div style>I am very new to winpcap and want to check how it works by using some of the functions:</div><div style><br></div><div style><div><span class="" style="white-space:pre"> </span>PacketOpenAdapter</div>
<div><span class="" style="white-space:pre"> </span>PacketSendPacket</div><div><span class="" style="white-space:pre"> </span>PacketAllocatePacket</div><div><span class="" style="white-space:pre"> </span>PacketInitPacket</div>
<div><span class="" style="white-space:pre"> </span>PacketFreePacket</div><div><span class="" style="white-space:pre"> </span>PacketResetAdapter</div><div><span class="" style="white-space:pre"> </span>PacketReceivePacket</div>
<div><span class="" style="white-space:pre"> </span>PacketCloseAdapter</div><div><span class="" style="white-space:pre"> </span>PacketSetHwFilter</div><div><span class="" style="white-space:pre"> </span>PacketGetAdapterNames</div>
<div><span class="" style="white-space:pre"> </span>PacketRequest</div><div><span class="" style="white-space:pre"> </span>PacketSetBuff</div><div><span class="" style="white-space:pre"> </span>PacketSetBpf</div><div><span class="" style="white-space:pre"> </span>PacketGetNetType</div>
<div><span class="" style="white-space:pre"> </span>PacketSetReadTimeout</div><div><span class="" style="white-space:pre"> </span>PacketSetNumWrites</div><div><span class="" style="white-space:pre"> </span>PacketGetNetInfo</div>
<div><span class="" style="white-space:pre"> </span>PacketSetMinToCopy</div><div><span class="" style="white-space:pre"> </span>PacketSetMaxLookahead</div><div><span class="" style="white-space:pre"> </span>PacketCancelPacket</div>
<div><span class="" style="white-space:pre"> </span>PacketLoadDriver</div><div><span class="" style="white-space:pre"> </span>PacketUnloadDriver</div><div><br></div><div style>I am going to open Wireshark on my PC and watch the communication between my PC and my other device which has winpcap installed on it. However I do not know how to write a console application which uses some of these functions or is there a sample code which uses these functions? Could you please help me?</div>
<div style><br></div><div style>Best</div></div></div>