How to make blender to receive and send data from C++ application

I have an animation suit that I am trying to send the data from to blender using C++ API development kit, but I have no idea how to make python to communicate with C++ API. Can anyone suggest how this can be done?

I recommend using the ctypes module.

I have someone working with this API, they have managed to print out the data to windows console, and they were trying to use subprocess module to listen to the streaming data, but without success.