ol.wsserver - embedded websocket/http webserver external

control max patches from multiple web browsers

Andrew Blanton's icon

Totally cool! Worked out of the box and worked perfect. This has some really interesting possibilities.

oli larkin's icon

thanks. just released an update

  • fixed crash when stopping max (i think)

  • better start sequence

  • added jquery (ui) example from ol.maxwebcontrol

  • defaults to port 8080 rather than 8000 when no port arg supplied

  • no longer sends the message disconnect, instead cx + idx + of 1 (connected) or zero (disconnected)

Michael Cheung's icon

Yeah, some IoT fun and games to be had with this!

John Daniel's icon

I just ran across this, yes yes yes. ! Very cool.

Works perfectly with Chrome browser on the same computer, but cannot figure how to get an external device (iPad connected to the same wifi) to talk to it. (voodoo chants so far are not working : )

I assume it involves changing the port on the object { ol.wsserver 8080 4 50 0 } to something else and then how do i point safari to it from the iPad ?

thanks!
jd

oli larkin's icon

you can specify the port on a url like this http://localhost:8080 . check that your wifi router/firewall doesn't block the specified port

Published

Creative Commons License

Author