[Winpcap-users] Problem about receive the packet sent by self
Helmut Vaupotitsch
hv at itec-audio.com
Mon Mar 1 04:01:36 PST 2010
I just filter out unwanted packets (in your case, packets sent by your
app) by comparing ether.source with the MAC address of the bound adapter.
Best regards
Helmut
fly_2u schrieb:
> Hi experts,
> There is a problem about use pcap_next_ex(...) to receive packet in
> Windows XP SP3. This function will be unexpected to receive the packet
> sent by the function pcap_sendpacket(...) in the same port. And when I
> use pcap_setdirection(m_pcapHandle, PCAP_D_IN) to set it, it will
> return -1, the error info is "Setting direction is not implemented on
> this platform". How could I implement the functionality that the
> pcap_next_ex(...)don't receive packet sent by pcap_sendpacket?Any help
> from you will be highly appreciated. Thanks!
> BR.
> Sam
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
--
----------------------------------------------------------------
Ing. Helmut Vaupotitsch Phone: +43 (0)3133 3780 16
ITEC Tontechnik und Fax: +43 (0)3133 3780 9
Industrieelektronik GmbH E-mail: hv at itec-audio.com
A-8200 Lassnitzthal 300 URL: http://www.itec-audio.com
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20100301/64536575/attachment.htm
More information about the Winpcap-users
mailing list