I am using c++, I need to recompile the C++/kdb+ API but since the c.o and k.h are already compiled to 32 and 64 platforms I cannot access their source code. Unless someone can direct me to the source to recompile it for my platform?!
Other than that, I thought of HTTP or websockets API. However, theres a problem already. I try to call a websocket from c++, establishing the link is ok, but unfortunately big data chunks are chopped off and I cant pull the full tables.
Could someone direct me how to post the right text message to HTTP (.z.ph) preferably the easiest way? Or could you guide me how to do it over websockets with c++?
You can use C libraries in C++, so you should be able to use the C api. check past messages to this list for more detail.
With websockets, check that you are using the right version - i think kdb implements version 1 and later versions chunk data. Not sure of the details there, just remember noticing it at one time. Can you set a version in your C++ websocket lib?
an example of a HTTP request is sending this text:
GET / HTTP/1.0
Host: localhost
``
``
to
q -p 5000
(every line should be terminated with “\r\n” and there should be an extra “\r\n” after the two lines above)