I am trying to build an Ethernet network with raw sockets. I cannot use TCP/IP, UDP, or any other protocol.
This is because it will be communicating with very simple ha
There are various tutorials on the net which are relatively easy to find. A good place for you to start would be with one such tutorial: Sockets Tutorial. It includes a simple client/server example in C (though the example is using the TCP protocol).
More results:
Raw Sockets programming on Linux with C
LINUX SOCKET PART 17 Advanced TCP/IP - THE RAW SOCKET PROGRAM EXAMPLES
Here is a comprehensive list of google search results on raw socket programming in C