Command Port


I would like to know if it is possible to use blender as a client of some other application, probably written in some other programming language, communicating with blender via sockets or a command port etc.

I remember that a couple of weeks ago there was a posting about this topic. Somebody tried to implement something like this, inspired by the code for executing python files. Unfortunately I coudn’t find the thread anymore.

Any hint?
Thanks, Dietrich