[Libwebsockets] Client connection closing
andy at warmcat.com
Mon Jun 27 15:30:06 CEST 2016
On Mon, 2016-06-27 at 11:57 +0530, techi eth wrote:
> 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
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets