SOCKET PROTOCOL

Hii, I want to know the header file where the socket protocols are defined…

In QNX 6.3.2
Protocol families are #defined in /usr/include/sys/socket.h or /usr/qnx632/target/qnx6/usr/include/sys/socket.h
Protocols are #defined in /usr/include/netinet/in.h or /usr/qnx632/target/qnx6/usr/include/netinet/in.h

Hii,
Thank you for the reply… Which protocol family and protocol I have to use to implement raw socket communication with Ethernet frame structure (Dest ADDR(MAC) + SRC ADDR(MAC) + ETHER TYPE + PAYLOAD).