Linux Socket Programming by Example - Warren Gay

< BACKCONTINUE >
159231153036212041242100244042145096184016146223183074028121223009001093087006027140154119172

Chapter 6. Connectionless-Oriented Protocols

Up to this point in this book, the nature of socket communications has largely been avoided. Instead, you have been focused on creating sockets, binding addresses to them, shutting them down, or closing them. Now it is time for some real fun in actually using sockets.

There are two basic modes of communication for sockets. They are connectionless- and connection-oriented communications.

In this chapter, you will learn

  • The differences between connectionless- and connection-oriented communication

  • How to perform connectionless input and output operations

  • How to write a datagram server

  • How to write a datagram client

Now turn your attention to a comparison between connectionless- and connection-oriented communication.

< BACKCONTINUE >