I have some problem with my HTTP-server that is based around a CC3000 module.
Today when I looked through the documentation and really tried to understand your implementation of how sockets should bee handled I came a cross the listen-function.
In your doxygen:
http://software-dl.ti.com/ecs/simplelink/cc3000/public/doxygen_API/v1.11.1/html/index.html
Look at the listen funktion, it says:
"[in] | backlog | specifies the listen queue depth. On this version backlog is not supported." |
Ok, so backlog is not implemented, fine. However, if you look here at your HTTP-server example:
http://processors.wiki.ti.com/index.php/CC3000_HTTP_Server_Demo_Session
There are two lines:
listen (httpServerSocket, MAX_CLIENTS)
and
listen (httpServerSocket, 5)
To me this clearly indicates that the second argument, backlog, has a meaning, or at least the TI-guy that wrote that code think so...
Moreover, I understand that the CC3000 can handle 4 connection, but it can handle 5 backloged connections?
So my questions are, does the backlog-argument effect my code in any way, and if it does, is it really possible for the CC3000 chip to handle 5 backlloged connections?
Thanks,
/Per