Hi everybody,
I need to add a websocket server to a binding because I need constant updates on a dynamic web page. I am quite new to networking programming in general, so I’m having some difficulties.
How can I create a websocket server in a binding? Is there something I can use from what openhab can already offer?.
Thank you in advance
Lorenzo
Hi,
you mean websocket server? I would normally expect a binding to have a websocket client, but not a server. I am currently working with Jetty WebSocket Client Library to implement a websocket client. I had to add the jar to the lib folder.
Hi Oliver,
I need a system that is able to send an information to a client. In this sense I need a server that broadcast this information.