Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Could someone please point me in the right direction as to which .Net classes I can use to read Ethernet frames. In particular I want to read multicast Ethernet frames (LLDP).

The only documentation I can find relates to the Socket class, but I think this only works with IP. The frames I'm interested are Ethernet frames, but do not hold an IP packet. Ideally I would like to listen for any Ethernet frame destined for a particular multicast MAC address...

I'd really appreciate a nudge in the right direction.

Many thanks,

Peter
Posted

1 solution

There are no classes in the .NET Framework that deal with network communication on that level.

You'd have to use a third party library, like WinPCap, to do something like this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900