I can't find an example anywhere of opening a client socket connection
and writing a string to it (some trivial login message maybe), or
something similar to a while(true) do {} loop with a listener.
Can someone paste some trivial code or give me a pointer to a
resource? All I can find is mentions of IPC for Q processes.
Thanks in advance.
Regards,
Attila
> --
>
> You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
> To post to this group, send email to personal...@googlegroups.com.
> To unsubscribe from this group, send email to personal-kdbpl...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/personal-kdbplus?hl=en.
>
>
Is the "proper" approach to actually write the market data gateway in
C/C++/Java, and then interface kdb+ to that? I was hoping to actually
write the market data listener directly in Q.
At this level of cost/capability, crossing process boundaries, even
using Unix Domain Sockets, is really worth avoiding, if possible.
Thanks!
https://code.kx.com/trac/wiki/Cookbook/InterfacingWithC
https://code.kx.com/trac/wiki/Cookbook/ExtendingWithC
And Arthur's notes
http://kx.com/q/c/c/a.c
http://kx.com/q/c/c/a.q
http://kx.com/q/c/c/readme.txt
And for reference how it is done with the Reuters SSL api
http://kx.com/q/c/feed/ssl.c
http://kx.com/q/tick/ssl.q
felix