[Libwebsockets] WebSocket Connection with multiple port

Andy Green andy at warmcat.com
Wed Dec 9 23:28:24 CET 2015



On December 10, 2015 2:28:09 AM GMT+08:00, Nandha Kumar R <nandhakumar.cs at gmail.com> wrote:
>Dear All,
>
>I am really new to libwebsocket. I am creating a server using
>libwebsocket in port 4444 and connected a html web socket client to
>this port. I am able to send and receive the data.

That's good.

>But i need to communicate with another client which is running in
>another port 4445.
>Is it possible to send message from port 4444 to 4445 using
>libwebsocket server.

I'm not quite sure what you are asking.... so today you have

[ lws server port 4444 ] ---- [ browser?  Lws client? ]

Can you draw what it is you want to do like that?

-Andy

>Kindly help me on this.
>
>Regards,
>Nandha
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets




More information about the Libwebsockets mailing list