[Libwebsockets] Closing client connection

Andy Green andy at warmcat.com
Tue Jul 12 08:56:03 CEST 2016


On Tue, 2016-07-12 at 11:27 +0530, techi eth wrote:
> Is their any API for closing client connection by server ?
> 
> As of now i am returning non negative value from callback for closing
> but some cases where server needs to close client connection without
> callback.

Can you explain more about those cases?

It's that lws is just doing serving only, and decides he must drop what
was an incoming client connection?  All client connections?

-Andy

> 
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> http://libwebsockets.org/mailman/listinfo/libwebsockets



More information about the Libwebsockets mailing list