[Winpcap-users] get remote mac

静风(yztgx) tanggx at gmail.com
Sat Oct 7 13:26:46 GMT 2006


use GetBestRoute api that get gateway address
use SendARP get gateway mac address

fill it into mac address


2006/10/7, wikicc <wikicc at gmail.com>:
>
> Hi forks:
>     I have a problem, I use winpcap can send a single SYN packet, But  How
> can I  send  lots of SYN packets, because it needs to fill  the mac address.
>    presenst I use sendarp to get all  the subnet mac address, but when I
> want get remote mac address , I have no idea ,  I have used
> getipforwardtable (IPHELPER'S API) to get routetable. But how to get remote
> mac , I am at sea still.
>
>   thanks
>
> --
> -------------------------------------------------------------------
> Hui Cao
> Major in Computer Science
> Email:caohui at theory.cs.tsinghua.edu.cn
> -------------------------------------------------------------------
> _______________________________________________
> 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/20061007/788f4de8/attachment.htm


More information about the Winpcap-users mailing list