[Libwebsockets] using libwebscoket for building lightweight Webscoket clinent for embedded linux

Andy Green andy at warmcat.com
Mon Nov 17 18:16:53 CET 2014



On 17 November 2014 20:27:52 GMT+08:00, "yogeshldeshmukh ." <yogeshldeshmukh at gmail.com> wrote:
>Hi ,
>
>
>I just want to know your opinion about decision of choosing
>libwebscoket
>for implementing  websocket clinet  (I don't need server part) .
>
>My embedded device is exected to connect to webscoket server on
>intertnet .
>
>I can see some options using which we can build clinet only part of the
>library but still the header contents APIs for both .

That doesn't make trouble, right?

>Is there any way to easily fiteroput  the code which is required for
>clinetonly implementation  (  header containing APIs which are
>applicable
>only for clinet).

If the idea is understand more easily how client operation works, the key is look at the test client sources and adapt it to your needs.

http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tree/test-server/test-client.c

-Andy

>
>Regards,
>Yogesh
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list