packet.IpV4 vs packet.Ethernet.IpV4

Nov 23, 2012 at 5:02 PM

Hi All,

Which should I use, I've tried both packet.Ethernet.IpV4 and also packet.IpV4 they both seem to give me different results.

Thanks,

Scott

Coordinator
Nov 23, 2012 at 7:36 PM

Hi ScottMacleman,

 

This depends on the DataLink.

If your packets are of DataLink Ethernet, you should use packet.Ethernet.

If your packets are of DataLink IpV4, you should use packet.IpV4.

 

I hope this helps,

Boaz.