[Libwebsockets] parameters for libwebsocket_client_connect()

yogeshldeshmukh . yogeshldeshmukh at gmail.com
Mon Nov 24 02:29:58 CET 2014

Hi Andy,

I’m bit confused about parameters for libwebsocket_client_connect()
If the URL  of webscoket server  is
(I’m also sending some parameters at the time of connection establishment )
then the parameters to pass will be
Address  = “ myserver.com"
Port   =6781
ssl_connection =1
path  = ??
    Websocket path on server      ???
Host  = ??
Origin  =?
Confusions :
1.  What exactly will go in path and host   and origin
2. how exactly to send the parameters  ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20141124/1af8083e/attachment.html>

More information about the Libwebsockets mailing list