<div dir="ltr">AFAIK, Packet* functions are not supposed to be used by application developers, They are for internal use with WinPcap and are subject to change.<div style>Use the official guide <a href="http://www.winpcap.org/docs/docs_41b5/html/group__wpcap__tut.html">http://www.winpcap.org/docs/docs_41b5/html/group__wpcap__tut.html</a></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 2, 2013 at 12:57 PM, Amadeus Bachmann <span dir="ltr"><<a href="mailto:satanasxentius@gmail.com" target="_blank">satanasxentius@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am very new to winpcap and want to check how it works by using some of the functions:</div>
<div><br></div><div><div><span style="white-space:pre-wrap"> </span>PacketOpenAdapter</div>
<div><span style="white-space:pre-wrap"> </span>PacketSendPacket</div><div><span style="white-space:pre-wrap"> </span>PacketAllocatePacket</div><div><span style="white-space:pre-wrap"> </span>PacketInitPacket</div>
<div><span style="white-space:pre-wrap"> </span>PacketFreePacket</div><div><span style="white-space:pre-wrap"> </span>PacketResetAdapter</div><div><span style="white-space:pre-wrap"> </span>PacketReceivePacket</div>
<div><span style="white-space:pre-wrap"> </span>PacketCloseAdapter</div><div><span style="white-space:pre-wrap"> </span>PacketSetHwFilter</div><div><span style="white-space:pre-wrap"> </span>PacketGetAdapterNames</div>
<div><span style="white-space:pre-wrap"> </span>PacketRequest</div><div><span style="white-space:pre-wrap"> </span>PacketSetBuff</div><div><span style="white-space:pre-wrap"> </span>PacketSetBpf</div><div><span style="white-space:pre-wrap"> </span>PacketGetNetType</div>
<div><span style="white-space:pre-wrap"> </span>PacketSetReadTimeout</div><div><span style="white-space:pre-wrap"> </span>PacketSetNumWrites</div><div><span style="white-space:pre-wrap"> </span>PacketGetNetInfo</div>
<div><span style="white-space:pre-wrap"> </span>PacketSetMinToCopy</div><div><span style="white-space:pre-wrap"> </span>PacketSetMaxLookahead</div><div><span style="white-space:pre-wrap"> </span>PacketCancelPacket</div>
<div><span style="white-space:pre-wrap"> </span>PacketLoadDriver</div><div><span style="white-space:pre-wrap"> </span>PacketUnloadDriver</div><div><br></div><div>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><br></div><div>Best</div></div></div>
<br>_______________________________________________<br>
Winpcap-users mailing list<br>
<a href="mailto:Winpcap-users@winpcap.org">Winpcap-users@winpcap.org</a><br>
<a href="https://www.winpcap.org/mailman/listinfo/winpcap-users" target="_blank">https://www.winpcap.org/mailman/listinfo/winpcap-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><br>===============<br> SunilKumar<div>------------------------------</div><div><a href="http://in.linkedin.com/in/sunilkr86/" title="View public profile" name="SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank">http://in.linkedin.com/in/sunilkr86/</a><br>
===============</div></div>
</div>