Use udbserver in C Check the example on how to use it. $ gcc example.c -lunicorn -ludbserver -o example $ ./example