O'Reilly logo

Linux for Embedded and Real-time Applications, 3rd Edition by Doug Abbott

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

Chapter 10

Embedded Networking

Give a man a fish and you feed him for a day.

Teach him to use the Net and he won’t bother you for weeks.

Everything is connected to the Internet, even refrigerators.1 So it’s time to turn our attention to network programming in the embedded space. Linux, as a Unix derivative, has extensive support for networking.

We’ll begin by looking at the fundamental network interface, the socket. With that as a foundation, we’ll go on to examine how common application-level network protocols can be used in embedded devices.

Sockets

The “socket” interface, first introduced in the Berkeley versions of Unix, forms the basis for most network programming in Unix systems. Sockets are a generalization of the Unix file access mechanism ...

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