Search found 3 matches

by mangodan
Fri Aug 23, 2019 4:45 pm
Forum: ESP-IDF
Topic: websocket-client message receive rate seemingly limited to 1 message per second.
Replies: 3
Views: 5082

Re: websocket-client message receive rate seemingly limited to 1 message per second.

The vTaskDelay should only be suspending the current thread and spacing out the sending, the reply events come from other threads handling the TCP stack etc. The vanilla example sends a message once a second so the problem I am seeing is hidden. It's when one tries to send messages more frequently t...
by mangodan
Thu Aug 22, 2019 7:51 pm
Forum: ESP-IDF
Topic: websocket-client message receive rate seemingly limited to 1 message per second.
Replies: 3
Views: 5082

websocket-client message receive rate seemingly limited to 1 message per second.

I came across the problem with my own application and server but can reproduce the same situation by making minor changes to the example provided in the esp-idf SDK found at examples/protocols/websocket using the default ws://echo.websocket.org service. change while (i < 10) { if (esp_websocket_clie...