CHAPTER 12 Multiplexing and Sockets
What You Will Learn
In this chapter, you will learn about how multiplexing (and demultiplexing) and sockets are used in TCP/IP. We’ll see how multiplexing allows many applications can share a single TCP/IP stock process.
You will learn how layer and applications interact to make multiplexing and the socket concept very helpful in networking. We’ll use a small utility program to investigate sockets and illustrate the concepts in this chapter.
Now that we’ve looked at UDP and TCP in detail, this chapter explores two key concepts that make understanding how UDP and TCP work much easier: multiplexing and sockets. Technically, the term should be “multiplexing and demultiplexing,” but because mixing things together ...