Network Programming (in C/C++) Reading Guide
The text is here: https://beej.us/guide/bgnet/html/multi/index.html
Read:
- Chapter 2
- Sections 3.1.2, 3.2. If you are going to program in C/C++, read section 3.3.
- Chapter 5 -- the meat is here.
- Chapter 6 has examples in C.
- Section 7.2 you'll need to understand.
- You may need to know about section 7.3, if you are programming in C/C++.
- You may be interested in section 7.6 about how to send broadcast packets (in UDP).
For socket programming in python, you can find many examples online.
E.g.,
here.
Read the examples, study them, use portions of them, but do not copy
them wholesale for any work you plan to turn in.
Any code you borrow explicitly must be cited in a comment in your code.