kanaka/websockify — pull request #38 by davidw (2012-04-13 10:26:12+00:00)
Title: "Single Shot" mode

Hi,

I hacked the source code a bit, in the C version of websockify, to allow it to be launched like this:

websockify -S localhost:19048 localhost:19046

This allows me to set it up dynamically, let it go about its business for a VNC session, and then go away. This is useful because I need to run it with different ports from different 'incoming' requests, and doing it this way is easier than hacking up a way to talk with websockify to make it dynamically listen on other ports, and then stop doing so.