SOCK_RAW top-level constant
int
const SOCK_RAW
Raw protocol interface.
A socket type that provides a raw socket that allows an application to manipulate the next upper-layer protocol header. To manipulate the IPv4 header, the IP_HDRINCL socket option must be set on the socket. To manipulate the IPv6 header, the IPV6_HDRINCL socket option must be set on the socket.
Implementation
const SOCK_RAW = 3;