Code to accompany the kdb+ and WebSockets whitepaper
- Start a q process and set it to listen on port 5001.
- Set the
.z.ws
message handler using.z.ws:{neg[.z.w] -8! @[value;x;{`$ "'",x}]}
. - Open
SimpleDemo.html
in a web browser to view the web console example.
- Start a q process that loads the
pubsub.q
script. - Start a second q process that loads the
fh.q
script. - Open
websockets.html
in a web browser to show tables updating in real time via a websocket connection.