how to link procesing with blender by sockets?


I have tryed everything to make pyserial to work but just could not do it. I am stll trying to control my robot arm somehow with blender. And I came acros a thread on this forum, of some one who did just that.!&highlight=blender+servo+pyserial

He linked blender with procesing with a socket and then transferd that to arduino. He posted a video of this ( and it seams to work. I am now just curious I some one knows any details how this can be made. I know how to link arduino and procesing (there are examples for that) but I dont know how to conect blender and procesing (supose I need sockets)

Does anyone know anything about this?