Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

XML-RPC from client machine?

Nekokami Dragonfly
猫神
Join date: 29 Aug 2004
Posts: 638
02-24-2005 21:39
Ok, I know if I want an XML-RPC server, go with Dreamhost, etc. But suppose I want to send info from the client machine. In this case, I'm collecting biometric data and I want to send it to SL and use it to drive a script. It's part of the biofeedback game I keep talking about (see InnerLife, below).

Do I need a server at all? Seems to me I should be able to just write an app on the client to capture the biometric data, wrap it in XML with the avatar key or some other unique channel name, and send it off using the XML-RPC call to the URL provided on the Wiki. Is it that easy? I mean, a server could be handy if people want to track stats or something, but it seems in this case it would just introduce lag and not add any functionality.

Thanks,

neko
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
02-24-2005 23:18
It should work just fine -- that's how I'm doing XML-RPC for my volumetric mapping system.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'