-->
Page 1 of 1

How many simultaneous WebSocket connection?

PostPosted: Sat May 18, 2019 1:42 pm
by mrlightsman
How many simultaneous WebSocket connections are supported on an esp01 acting as a websocket server in STA mode?

How about the esp32?

The sockets will remain open always, but only transmit data on button push and only about 35 characters at a time.

The idea is that several client esp will report to the server esp their status.

Thanks.

Re: How many simultaneous WebSocket connection?

PostPosted: Sat May 18, 2019 8:19 pm
by davydnorris
The default compiled into most SDKs is 5 HTTP or 1 HTTPS connection, but you can change that within limits.

You can use the SDK functions espconn_tcp_get_max_con_allow() and espconn_tcp_get_max_con() to check the values for your system

Re: How many simultaneous WebSocket connection?

PostPosted: Tue Jul 02, 2019 7:42 am
by Elissa Smart
Surprisingly, this
You can use the SDK functions espconn_tcp_get_max_con_allow() and espconn_tcp_get_max_con() to check the values for your system didn't work for me.

Re: How many simultaneous WebSocket connection?

PostPosted: Thu Jul 04, 2019 5:31 pm
by davydnorris
Elissa Smart wrote:Surprisingly, this
You can use the SDK functions espconn_tcp_get_max_con_allow() and espconn_tcp_get_max_con() to check the values for your system didn't work for me.


Did they fail? What happened when you tried them?