Chapter 11:

The RAW Socket

 

 

 

C & Winsock: The Kick Start programming tutorials

 

C & Linux Socket

 

Program Example Index

 

C#, VB .NET & C++/CLI Network Programming

 

Windows Device Driver Development & Program Examples

 

ReactOS - Windows OS Binary Compatible Open Source Project - C & C++

 

 

 

 

COMPLETED PROJECT DOWNLOAD

What do we have in this chapter?

  1. Raw Socket Creation

  2. ICMP - Internet Control Message Protocol

    Ping Example

  3. IPv4 and IPv6 Ping Program Example

  4. Traceroute

  5. The Traceroute Program Example

  6. Using IP Header Include Option

  7. Program Examples: The UDP RAW Socket

  8. Program Examples: The UDP RAW Socket (continue)

 

 

Summary

 

Raw sockets are a powerful mechanism to manipulate the underlying protocol. This chapter illustrated how you can use raw sockets to create ICMP and ICMPv6 applications through Winsock, but raw sockets can be used in a multitude of other applications, too many to discuss in a single chapter. To take full advantage of the capabilities of raw sockets and the header include option (IP_HDRINCL and IPV6_HDRINCL), you must thoroughly understand the IP protocol as well as any protocols encapsulated in it.

 

 

 

 

HOME

 

Custom Search

 

 

< Chap 10: Quality-of-Service (QOS) | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Chap 12: Remote Access Service (RAS)>

 

Share and email to your beloved friends and foes: