Skip navigation.
Home
The QNX Community Portal

View topic - SOCKET PROTOCOL

SOCKET PROTOCOL

Discussion about the QNX6 OS.

SOCKET PROTOCOL

Postby KYK » Fri Jun 23, 2017 10:25 am

Hii, I want to know the header file where the socket protocols are defined...
KYK
New Member
 
Posts: 3
Joined: Tue Jun 06, 2017 2:01 pm

Re: SOCKET PROTOCOL

Postby space » Fri Jun 23, 2017 6:39 pm

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
space
Active Member
 
Posts: 16
Joined: Fri Mar 09, 2007 6:03 pm
Location: Texas

Re: SOCKET PROTOCOL

Postby KYK » Mon Jun 26, 2017 6:16 am

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).
KYK
New Member
 
Posts: 3
Joined: Tue Jun 06, 2017 2:01 pm


Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 3 guests

cron