[Winpcap-users] win 7 loopback adapter with winpacp pcap_sendpacket sending multicast packets

you yuan yuanprivacy at gmail.com
Wed Mar 2 04:46:26 PST 2011


Hi,Thanks for help.
According to the test, it's ok for transmitting on different computers.
I have written a simple cmd program using winpcap's api to receive packets
from the loopback adapter. It shows capture is ok.
So I think maybe something changed for xp and win7 loopback adapter system.
The winpcap's api and winsock's mechanism behave differently on xp and win
7?

On Wed, Mar 2, 2011 at 2:02 PM, Gianluca Varenni <
Gianluca.Varenni at riverbed.com> wrote:

> Do the same packets get send on a standard non-loopback adapter (i.e.
> transmitter and receiver on different computers)?
>
> Have a nice day
> GV
>
> ________________________________________
> From: winpcap-users-bounces at winpcap.org [winpcap-users-bounces at winpcap.org]
> On Behalf Of you yuan [yuanprivacy at gmail.com]
> Sent: Sunday, February 27, 2011 3:39 AM
> To: winpcap-users at winpcap.org
> Subject: [Winpcap-users] win 7 loopback adapter with winpacp
> pcap_sendpacket    sending multicast packets
>
> HI,everyone
>  Recently I have come across a problem concerning winpcap sending
>  multicast packets on windows 7 loopback adapter.
>  Here have an application with two componets.One componet is a
> simulator using winpcap to send and receive multicast packets on
> windows networks adapters with fixed ip(i.e,192.10.x.x). Another is a net
> module using winsock's setsockopt,ioctlsocket, recvfrom etc
> functions to receive multicast packets sent by the first componet.
>  My problem is when I use windows 7 loopback adapter with fixed ip,the
> first compent can send packet out(see it from the wireshark), But the net
> module component can't receive any packets. However, the same application
> really works on windows XP.
>  I rarely know anything winpcap packet sending mechanisms with
> windows loopback adapter.I don't know how to fix the problem under windows
> 7.
>  I have searched many times but gain nothing.Does anyone have the similar
> problem or know something  or some keywords about this, please help. Thanks
> in advance.
>
> _______________________________________________
> 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/20110302/3524db14/attachment.html>


More information about the Winpcap-users mailing list