Web Sockets Server

Has anyone done any work on a Web Sockets server in Xojo?

I’m looking at writing an app that will allow Web Sockets connections from clients.

I have a couple of Console apps that transfer socket data over the internet (securely compress and encrypt) to a Web app. It works!

Sockets seem to work in their own thread, so I had problems when I was trying to do too many UI things at once from within the sockets. I use the sockets to transfer SQL SELECT/EXECUTE commands, then return the RecordSet data, but you could use them for lots more things.