raw-ethernet

Implement Raw Ethernet in Winsock

I am doing a project where I must craft custom packets. That is, I have to have control of each packet header. I am trying to do this using sockets. Basically, what I need to do is this: SOCKET s = socket(PF_UNSPEC, SOCK_RAW, ethernet_type); The ethernet_type is something that is customized, non-standard, like 0xAAAA. I am using h...

Winsock Join MAC ADDRESS Multicast group

Is there a way to join an Ethernet multicast group? All documentation I found is about adding an IP group. I just want to receive the Cisco CDP packet that is sent to the MAC address 01:00:0c:cc:cc:cc. ...

Java library for Raw Ethernet

The title pretty much says it all. I'm looking for a java library that will give me access to raw Ethernet frames, both for reading and sending them. My end goal is to create a BACnet Ethernet network scanner. Please, Note, I'm not looking for TCP\IP. Anyone know of a good library for doing this? ...

How send raw ethernet packet with C#?

Hi, Is there a way to send raw packet Ethernet to other host via C#? In Windows 7 if it makes difference. ...