What’s the best way of running a socket server in sublime’s plugin system?
I’ve looked at async io but looks like it’s only in a newer version of python
I’ve looked at set_timeout_async, but I would need a way to stop the server too
I’ve looked at asynchat but for some reason, I can’t get it to not block
I’m looking at threading but not sure how to do signaling yet (to send the stop server)
What’s the most idiomatic way of doing this?
Are there any other plugins with socket servers?