[Libwebsockets] Client connection closing

Andy Green andy at warmcat.com
Mon Jun 27 15:30:06 CEST 2016

On Mon, 2016-06-27 at 11:57 +0530, techi eth wrote:
> Hi,
> What method to be used by client to close connection with server ?
> As of now i am using context destroy but i think their will be better
> way doing for same. 

Yes just return -1 from the user callback to indicate you want to close
that connection.


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

More information about the Libwebsockets mailing list