AnsweredAssumed Answered

Socket buffer's size

Question asked by oscar guallar on May 4, 2012
Latest reply on May 8, 2012 by Weining

Hello,

 

I'm trying to increase the socket buffer's size with sectopt() function for a TCP server application

The issue is if the size is greater than 512, when I try to connect, no error is done but the accept() function is always waiting.

Otherwise, with size <= 512 is OK.

 

Some additional information:

 

 - RTCS was built with RTCS_MINIMUM_FOOTPRINT  (default)

 

Other parameters:

_RTCSPCB_init          = 3;   

_RTCS_msgpool_init     = 3;   

_RTCS_socket_part_init = 3;

 

Any idea?

Outcomes