[Libwebsockets] regarding maximum concurrent connections

Andy Green andy at warmcat.com
Sun Jul 17 11:49:27 CEST 2016

On July 17, 2016 1:53:36 PM GMT+08:00, "Suman.Patro-TRN" <Suman.Patro-TRN at lntebg.com> wrote:
>I run the libwebsockets-test-server.exe  and connect the client of
>dumb-increment protocol and monitor the number of maximum client
>connections that could be made to the server. I get maximum of 20
>browser clients that can get connected(i.e 20 browser tabs with each
>tab showing 5 requests). So according to this , how do I calculate max
>no. of client connections? and If I would like to increase number of
>connections , what do I need to do? I work on windows system.

On master, a couple of guys contributed improvements past the default 64-connection limit windows has.  So try master branch.  Linux has no such limit.

>One more observation over which I am confused is using chrome's
>developer  tools  I monitor the requests and what I see is per browser
>client, number of requests are 5 but connection id of websocket
>requests are same, how is this possible? Because for every client this
>id should be unique.?

I have no idea what a 'connection id' means to you, but it has no special meaning in websockets, lws or tcp, so...


>I have attached a word file for viewing the  connection ids.
>Thanks and regards,
>Larsen & Toubro Limited
>This Email may contain confidential or privileged information for the
>intended recipient (s). If you are not the intended recipient, please
>do not use or disseminate the information, notify the sender and delete
>it from your system.
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org

More information about the Libwebsockets mailing list