HOW MANY SIMULTANEOUS WEBSOCKET CONNECTION?

Elangovan's picture

Offline

Joined: Sep 19, 2018

Replies: 0
HOW MANY SIMULTANEOUS WEBSOCKET CONNECTION?
July 5, 2019 - 5:00pm

How many simultaneous WebSocket connections are supported on an esp01 acting as a websocket server in STA mode?

hie, is is possible to connect mutiple websocket connection in esp01. if yes then hw many simultaneous WebSocket connections are supported acting as websocket server in STA mode?

Thanks.

Abhiemanyu Pandit's picture

Offline

Joined: Jan 21, 2019

Replies: 37
HOW MANY SIMULTANEOUS WEBSOCKET CONNECTION?
July 5, 2019 - 5:03pm

hi elangovan, yes it is possible to add multiple websocket connection in esp01. The default compiled into most SDKs is 5 HTTP or 1 HTTPS connection, but it is possible to change that within limits.
Use  the the SDK functions espconn_tcp_get_max_con_allow() and espconn_tcp_get_max_con() to check the values for the project.