Slides
Overview and Sockets
Today we did a quick overview of the OS/ISO reference model and the 5-layer TCP/IP model. Once we finished that, we discussed the role of Berkley sockets as one, particularly popular and prolific, of many libraries used by application programmers to make use of the network.We moved through socket(), bind(), listen(), accept(), and connect() calls, as well as the necessary structs and convenience functions.
Next class, we'll take a look at some real code as well as explore UDP and servers than can many many connections concurrently.