Chapter 18: Internet (TCP/IP) Sockets

A chapter in the Linux Programming Bible; see the Table of Contents for more.

Description

One of the most exciting aspects of programming in Linux is being able to write programs that leverage the Internet to communicate with processes on other computers. This chapter will teach you how to do that. You'll learn about the fundamentals of TCP/IP programming, some of its unique challenges, name resolution, and how to establish a connection for both a client and a server, and how to write some code to be used as a networking library.

Main Sections