[Libwebsockets] How to set a max number of clients

Tiago Costa tiago.rocha.alves.costa at gmail.com
Wed Oct 29 16:55:13 CET 2014


Hi,

I have a simple server, and I am currently attempting to limit the number
of clients.
I found mention of a "MAX_CLIENTS" setting in the LWS_CALLBACK_HTTP reason
description, but nowhere else.

Is it possible to set a maximum number of clients? If yes, how can I do
this?


Regards,

Tiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20141029/5564323c/attachment.html>


More information about the Libwebsockets mailing list