SOCK_RAW top-level constant

  1. @Deprecated('Use WINSOCK_SOCKET_TYPE.SOCK_RAW instead')
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

@Deprecated('Use WINSOCK_SOCKET_TYPE.SOCK_RAW instead')
const SOCK_RAW = 3;