newbie question:
I want to connect from browser to kdb backend, I am using c.js (for serializing / de-serializing), I am trying to sub symbol quotes, I am sending command
“.u.sub[kxtrades;
MSFT]”, javascript code here:
function subscribeData(){
console.log(“subscribe Data…”);
//var command = [‘.u.sub’];
var args = [‘kxtrades’, ‘MSFT’];
ws.send(serialize([‘.u.sub’, args]));
}
all I get is echo of the call I send to server, no matter what format I do or how I send, always an echo comes back of whatever I sent to server.
what obvious thing I am missing, do some config needs to happen on server to accept and response to stuff coming from WS connection from browser, is there a protocol issue going on?
Thanks