Websocket Server

Has anyone come across an example of Xojo working as a Websocket Server?

Did you find something ?

I haven’t come across anything yet, I’m still interested.

I tried Dierk Walters code from this tread:

Seems to work.
But are struggeling to isolate the code i need.

Kato

Looks like same one I came across also struggled to dig the bits out that was needed

Finally !

See attached example.

XojoWebSocket

Next:
Passing the data as JSON to exchange a lot of variables.
Need to learn JavaScript this weekend.