3 concurrent TCP sockets in separate task

All information, news and questions about the Pine64 IoT-stamp can be found and discussed here
Posts: 4
Joined: Tue May 30, 2017 8:34 am

3 concurrent TCP sockets in separate task

Postby nvl1109 » Wed May 31, 2017 4:48 am

Hi all,

I'm trying to create 3 concurrent sockets using SDK 4.0a IAR compiler on 3 separate tasks. I'm using each connection in a task, because of I need the connections at the same time.
It is ok if I create 2 concurrent sockets on two tasks, but if I create the third socket on third tasks, the program hangs after at xTaskCreate().
After 2 sockets created, the total created tasks are 15 (check by getNumberOfTasks API). Do you think it is because of task number limitation?
If you have any idea, please share. Thank you.

Return to “Pine64 - PADI IoT Stamp”

Who is online

Users browsing this forum: No registered users and 0 guests