4.1 Chapter Objectives
This chapter examines the defined standards and methods for Internet data communications, the protocols. This encompasses the data formats employed as well as the algorithms that operate on that data in order to facilitate data communication between physically separate devices. On completion of this chapter, the reader should:
- Be able to define IP, TCP, and UDP, the role of protocol layers, and what functions they perform.
- Be conversant with the key elements of each protocol, such as IP addresses and TCP sockets.
- Be able to explain potential pitfalls in networking, such as congestion collapse, and know the approaches used to mitigate these problems.
- Be able to explain the principles of routing and calculate the shortest path in a routing graph.
There is a vast range of detail concerning the Internet protocols that cannot be discussed in detail in one chapter – the intent here is to explain the salient points and examine some important aspects in depth. In addition to Internet standard RFC documents, a very approachable reference is Kozierok (2005). Detailed explanations of the inner workings of TCP/IP are given in Stevens (1994), while implementation details are covered in Wright and Stevens (1995a).
Suppose we wish to connect a number of devices together for the purposes of exchanging data. What is the best way to do this? What do we mean by “best” in this context? We might want ...