Non-Blocking wiced_tcp_accept()?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am attempting to create an HTTP server that can service multiple persistent connections, but it is getting slowed down by the need to look for new connection attempts using wiced_tcp_accept().  Is there a way to make this non-blocking, or would it simply be easier to spawn a new thread to deal with new connection attempts?

0 Likes
1 Solution
Anonymous
Not applicable

Using a new thread ended up being relatively easy.  Also, the response time ended up noticeably improving over the wiced_http_server architecture.

View solution in original post

0 Likes
1 Reply
Anonymous
Not applicable

Using a new thread ended up being relatively easy.  Also, the response time ended up noticeably improving over the wiced_http_server architecture.

0 Likes