Skip to Content
The Sockets Networking API: UNIX® Network Programming Volume 1, Third Edition
book

The Sockets Networking API: UNIX® Network Programming Volume 1, Third Edition

by W. Richard Stevens, Bill Fenner, Andrew M. Rudoff
November 2003
Intermediate to advanced
1024 pages
25h 50m
English
Addison-Wesley Professional
Content preview from The Sockets Networking API: UNIX® Network Programming Volume 1, Third Edition

Chapter 29. Datalink Access

Introduction

Providing access to the datalink layer for an application is a powerful feature that is available with most current operating systems. This provides the following capabilities:

  • The ability to watch the packets received by the datalink layer, allowing programs such as tcpdump to be run on normal computer systems (as opposed to dedicated hardware devices to watch packets). When combined with the capability of the network interface to go into a promiscuous mode, this allows an application to watch all the packets on the local cable, not just the packets destined for the host on which the program is running.

    • This ability is less useful in switched networks, which have become quite common. This is because the switch ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Network Programming with Go

Network Programming with Go

Adam Woodbeck

Publisher Resources

ISBN: 0131411551Purchase book