Raw Socket - Uses

Uses

One possible use case for raw sockets is the implementation of new transport-layer protocols in user space.

Raw sockets are typically available in network equipment, and used for routing protocols such as the Internet Group Management Protocol (IGMP) and Open Shortest Path First (OSPF), and in the Internet Control Message Protocol (ICMP, best known for the ping suboperation).

Read more about this topic:  Raw Socket