Searching for a WebSockets Library

I have found a couple web sockets library, but none are maintained or at least seem maintained.

Can anyone recommend the best one or the most popular one?

Let me ping someone that might be able to help, @rickkas7 or @ParticleD are you able to assist?

1 Like

The same question, many years later. Any hints?

There are no websockets libraries for the Particle platform.

Because TCP server is not supported on cellular platforms, it's not possible on those devices.

And from a practical standpoint, you'd really want it secured by TLS/SSL, and there is no native support for transport security of Wi-Fi devices.

The more common scenario is to put websockets on an intermediate server located on the Internet that communicates with the Particle device using standard Device OS techniques like function, variables, and publish, possibly using SSE to get a real-time event stream.

Thanks for your reaction. I do have a use case: my Logitech harmony hub that I use as a remote control for hifi and tv has a websockets interface that I like to manage from my iPhone with automation reading rfid. But the iPhone does not support websockets, so I stick a P2 with a webserver in between.