setsockopt

Does the QNX implementation of this support SO_NODELAY?

“Doug Rixmann” <rixmannd@rdsdata.com> wrote in message
news:b1m6jt$c61$1@inn.qnx.com

Does the QNX implementation of this support SO_NODELAY?

It does support TCP_NODELAY if you mean thos. Code looks like:

#include <sys/socket.h>
#include <netinet/tcp.h>

int val = 1;
setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val));

// wbr

perfect. thanks
“Ian Zagorskih” <ianzag@megasignal.com> wrote in message
news:b1m6u5$c89$1@inn.qnx.com

“Doug Rixmann” <> rixmannd@rdsdata.com> > wrote in message
news:b1m6jt$c61$> 1@inn.qnx.com> …
Does the QNX implementation of this support SO_NODELAY?


It does support TCP_NODELAY if you mean thos. Code looks like:

#include <sys/socket.h
#include <netinet/tcp.h

int val = 1;
setsockopt(s, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val));

// wbr