Hi Preethi,
The errors means that you have no longer sockets available for accepting the incoming connection. Form rtcs.h file:
#define RTCS_ERROR_BASE (0x1000)
#define RTCSERR_OUT_OF_SOCKETS (RTCS_ERROR_BASE|0x122)
Try to increase the number of sockets the system is allowed to have; for instance, in the web_hvac example we have this:
_RTCSPCB_init = 4;
_RTCSPCB_grow = 2;
_RTCSPCB_max = 20;
_RTCS_msgpool_init = 4;
_RTCS_msgpool_grow = 2;
_RTCS_msgpool_max = 20;
_RTCS_socket_part_init = 4;
_RTCS_socket_part_grow = 2;
_RTCS_socket_part_max = 20;
I hope this helps you.
Regards,
Garabo
Hi Preethi,
The errors means that you have no longer sockets available for accepting the incoming connection. Form rtcs.h file:
#define RTCS_ERROR_BASE (0x1000)
#define RTCSERR_OUT_OF_SOCKETS (RTCS_ERROR_BASE|0x122)
Try to increase the number of sockets the system is allowed to have; for instance, in the web_hvac example we have this:
_RTCSPCB_init = 4;
_RTCSPCB_grow = 2;
_RTCSPCB_max = 20;
_RTCS_msgpool_init = 4;
_RTCS_msgpool_grow = 2;
_RTCS_msgpool_max = 20;
_RTCS_socket_part_init = 4;
_RTCS_socket_part_grow = 2;
_RTCS_socket_part_max = 20;
I hope this helps you.
Regards,
Garabo
Thank you very much Garabo, setting of the RTCS variables helped to accept multiple connections. I set the "grow" variables to 4 so that it accepts 4 simultaneous connections.
Thanks once again
Thanks and regards
Preethi Sreenath