Technique for remote code execution?

Hi all.
Let’s say I have some functions I’ve written in python (or whatever) that I would like to return the values of back to vvvv. What’s the best (simple and reliable) way to do this?

So far I’ve had success sending OSC messages back and forth over UDP but this has been on localhost with little traffic. Would simply sending these over a TCP connection take care of the reliability issues over a larger network? Is using OSC for this too cumbersome?
What if I wanted to access any other web service out there, is there a xml-rpc node that happens to be laying around somewhere?

Tips appreciated!
Thanks.

What if I wanted to access any other web service out there, is there a xml-rpc node that happens to be laying around somewhere?

How about using a RESTful WebService?
I’m using some of these and they work great.

As long as the calls are asynchronous and rather sparse.

Edit: Ah ok. I read again and see that you want to be able to use ANY web service out there. Sorry.