2 ms·
I'm curious as to whether this could be generalised to any browser if there was a small server that accepted websocket connections and for each one, opened up a
by Lerc 8y ago
I'm curious as to whether this could be generalised to any browser if there was a small server that accepted websocket connections and for each one, opened up a listening port on the server side.
If the socket was exposed as an environment variable
WEBSESSION=/tmp/websession_socket.16417
Then applications could connect to the socket at WEBSESSION and feed data to the browser (to display in an iframe).
Mostly I say this because I've made one of these but haven't been using it.