Hello All..
I need a Layer 2 raw socket client-server program. In Linux there is an structure called struct sockaddr_dl and it has source MAC address and destination MAC address as members. Is struct sockaddr_dl the equivalent of it ? If so then how do I fill in the addresses.
Thank you.
I need a Layer 2 raw socket client-server program. In Linux there is an structure called struct sockaddr_dl and it has source MAC address and destination MAC address as members. Is struct sockaddr_dl the equivalent of it ? If so then how do I fill in the addresses.
Thank you.