interactive runtime

I would like to run an interactive blender scene in runtime mode and then interact with it from outside with another program. Is there any kind of interface which I could access with a dotnet program in windows? Would it be possible to run a tcp-socket-server in the blender engine and interpret incoming commands to movements on the screen? Or is there an easier approach?
I know about the ActiveX, but it doesn´t support the new versions of blender, so I don´t want to use it.


sockets wouldn’t be an easy approach unless you modified the source for the blender player…