SLIDE 1
What is a socket?
- Basically, a socket is just a file descriptor that your
application can use to read and write data from.
- Stream and Datagram sockets provide an interface
to the transport layer of the network stack, and implement TCP and UDP, respectively.
- There are other types of sockets, but for this class