Simple raw socket server in C/C++ on Linux

前端 未结 1 1523
借酒劲吻你
借酒劲吻你 2021-02-03 15:34

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

相关标签:
1条回答
  • 2021-02-03 15:48

    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

    0 讨论(0)
提交回复
热议问题