AF_UNIX tcp_ip Dev

Hi,

I have a probleme with

if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
{
fatal(“Could not create unix domain socket: %s”, strerror(errno));
}

AF_UNIX isn’t support by QNX ???

Best regard

Darnet Christophe <darnet@francepcb.com> wrote:

Hi,

I have a probleme with

if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
{
fatal(“Could not create unix domain socket: %s”, strerror(errno));
}

AF_UNIX isn’t support by QNX ???

QNX4 only support interned domain socket (AF_INET, I think), QNX RTP
currently (it is my understanding) only supports AF_INET sockets, but
is intended to support AF_UNIX also at some point.

You might look at either using internet sockets or named pipes instead
of Unix domain sockets.

-David