Raw socket

Likes Talking Checkins
0 0
Description In computer networking, a raw socket is an internet socket that allows direct sending and receiving of raw network packets.Raw sockets vs standard socketsIn standard sockets, the payload to be transmitted is encapsulated according to the chosen transport layer protocol (e.g. TCP, UDP). In contrast, raw sockets usually receive raw packets including the header. When transmitting packets, the automatic addition of a header may be a configurable option of the socket.UsesOne 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).Support by socket APIsMost socket application programming interfaces (APIs), especially those based on Berkeley sockets, support raw sockets.

Reviews and rating

Rate this interest