# Connection between Q library and K Process

**URL:** <https://forum.kx.com/t/connection-between-q-library-and-k-process/6477>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [February 3, 2010, 10:15pm UTC](https://forum.kx.com/t/connection-between-q-library-and-k-process/6477 "2010-02-03T22:15:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a\_khandelwal](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@a\_khandelwal](https://forum.kx.com/u/a_khandelwal)\
**Post date:** [February 3, 2010, 10:15pm UTC](https://forum.kx.com/t/connection-between-q-library-and-k-process/6477/1 "2010-02-03T22:15:00Z")

</div>

I want to know if it is possible for a Q library to connect to a Kprocess ?Thanks,Anshul

---

<div class="post-metadata">

**Author:** ![Lindqvist](https://avatars.discourse-cdn.com/v4/letter/l/b4bc9f/32.png) [@Lindqvist](https://forum.kx.com/u/Lindqvist)\
**Post date:** [February 4, 2010, 8:30am UTC](https://forum.kx.com/t/connection-between-q-library-and-k-process/6477/2 "2010-02-04T08:30:00Z")

</div>

Take a look at the k3.so file that can be found under:[http://kx.com/q/For](http://kx.com/q/For) instance: [http://kx.com/q/l32/k3.so](http://kx.com/q/l32/k3.so) for 32 bit Linux.Then take a look at [https://code.kx.com/trac/wiki/Reference/TwoColonto](https://code.kx.com/trac/wiki/Reference/TwoColonto) see how to integrate the functions therein to be able to connect.Especially take note of the notes mentioned on the “Extending Kdb+with C” page, link to from the 2: reference.For instance:khp:`k3 2:(`k3hp;2) / host portk:`k3 2:(`k3;2)Under Linux, a crude way of listing some functions of interest is:nm -A k3.so | grep TOn 3 Feb, 23:15, Anshul \<a.khandel…\> wrote:\> I want to know if it is possible for a Q library to connect to a K\> process ?\>\> Thanks,\> Anshul\</a.khandel…\>
