Reagent Kdb+

Reagent implements KDB+ ipc protocol. Can be created directly by call reagent[`kdb;"host:port"] or rеturns from reagent `kdb_listener as a vаlue.

o)load "kdb";
o)kdb_listener: reagent[`kdb_listener;""];
o)spawn {react {[cli: kdb_listener] spawn[{[cli] react {[x: cli] cli[@[{eval parse x};x;{`error$x}]]}};cli]}};

o)load "kdb";
o)kdb: reagent[`kdb;""];
o)react {[x:kdb] println["kdb server reply: %";x]};
o)// send request to a kdb server:
kdb server reply: 3