Hi All,
Please let me know what is the upper limit of FD_SETSIZE in TMS320C6000 Network Developer's Kit (NDK). i.e "how many maximum number of port we can open"
Thanks,
Anurag
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All,
Please let me know what is the upper limit of FD_SETSIZE in TMS320C6000 Network Developer's Kit (NDK). i.e "how many maximum number of port we can open"
Thanks,
Anurag
Anurag,
Since no one answered you in over a month, it would appear that either this question should have been posted in one of the software forums like BIOS (which is where NDK questions are best asked) or that there is not a clearly defined answer. Your question will be moved there to see if anyone will have an answer there.
How large do you want it to be?
Regards,
RandyP
Anurag,
When a socket is created, is makes a call to dynamically allocate memory for that socket.
Since you would need to have a socket that is bound and accepted (via bind() and accept() calls) for each port you want to have open, then the number of ports open should be limited by the amount of memory you have in the heap.
Steve
Hi Steve,
Thanks for your support. It gave me the good insight about the memory constraint that needs to be considered when designing the system using NDK.
Regards,
Anurag