c - Communicate between two systems using only MAC address -



c - Communicate between two systems using only MAC address -

i want know how communicate between 2 systems using mac address using c program (without using ip address). think raw ethernet communication. requirement send info client server using mac address. may can done creating our own raw ethernet frame.

please help me regarding this. if has written code in c, please share.

this link may help you, http://aschauf.landshut.org/fh/linux/udp_vs_raw/ch01s03.html

the libpcap library allows assemble raw ethernet packets , send them straight adapter: hardest part beingness discovery of right adapter. designed c/c++ usage on platforms (win pcap etc.).

be sure want though: have seen several projects raw ethernet packet interfaces have been used, more , more protocol set in place re-transmission , windowing etc. until end own version of tcp/ip (only 1 hasn't been tested millions of people using windows/linux or whatever platform is). ethernet chips have functions accelerate tcp/ip stacks these days too: missing out on too.

c networking network-programming networkstream

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -