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

Chapter 18. The Power of Raw Sockets

IN THIS CHAPTER

Sometimes the materials available do not fit the intent and needs of your project. When this happens, you have to start with very raw materials. TCP and UDP do not give you access to the raw guts of the IP packets. You have to delve deeper and do more foundational work.

The raw socket offers you a lot of flexibility. Also, the programs that use raw sockets tend to be very simple and fast. This chapter details the use and intent of raw sockets and gives you tips on how to construct the packets.

When Would You Use Raw Sockets?

The raw material ...

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