Linux Socket Programming by Example - Warren Gay

< BACKCONTINUE >
159231153036212041242100244042145096184016146223183074028121223008110131112215132131175162127

Chapter 4. Socket Types and Protocols

In Chapter 1, "Introducing Sockets," you saw how the socketpair(2) function was used to create a pair of local sockets. In this chapter, you will also learn about the socket(2) function to create a socket. These two functions have the domain, the socket type, and the protocol ingredients in common.

This chapter will build on the previous chapters by primarily focusing on the socket(2) function call. This includes expanding upon the following:

  • The domain argument

  • The socket type argument

  • The protocol argument

< BACKCONTINUE >

Index terms contained in this section

sockets
      types