O'Reilly logo

Linux® Socket Programming by Sean Walton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Expanding the Programming Challenge

Most programming targets immediate functions or tasks on your desktop or laptop. These tasks rarely communicate with more than just the mouse, keyboard, display, and file system. A greater programming challenge involves several programs on different computers connected through a network channel. Network programming expands the challenge, because you have to coordinate tasks and send assignments.

The fundamental unit of all network programming in Linux (and most other operating systems) is the socket. In the same way that file I/O connects you to the file system, the socket connects you to the network. The socket is a junction that your program uses to address, send, and receive messages.

Network or ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required