Skip navigation.
Home
The QNX Community Portal

View topic - Socket Buffer size w/ TCP/IP 4.25

Socket Buffer size w/ TCP/IP 4.25

For the old QNX2 and QNX4 RTOS

Socket Buffer size w/ TCP/IP 4.25

Postby dpanseri » Mon Jan 31, 2011 6:56 pm

I am attempting to increase the size of the receive buffer on a UDP socket using setsockopt/SO_RECVBF. The problem is
that if I set the buffer size any greater than 61680 bytes I get an ENOBUFS error. Is there any way to allocate a buffer
larger than this?
dpanseri
New Member
 
Posts: 2
Joined: Wed Sep 09, 2009 6:36 pm

RE: Socket Buffer size w/ TCP/IP 4.25

Postby maschoen » Mon Jan 31, 2011 9:38 pm

It sounds like you are bumping up against a hard limit in the QNX 4 TCP/IP implementation. I doubt that there is any way around it. 61680 does sound like an ample buffer size for a UDP datagram.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 1 guest