The xmlrpc works fine. I have seen some issues with some php xmlrpc libraries. I have been using the one from <a href="http://pear.php.net/package/XML_RPC2">http://pear.php.net/package/XML_RPC2</a> with good success.<br><br>
<br><div class="gmail_quote">On Sun, Nov 1, 2009 at 1:49 PM, Clive Gould <span dir="ltr"><<a href="mailto:cliveg@gmail.com">cliveg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Americo<br>
<br>
Thanks very much for this script, which I have just tried out and it<br>
works fine :)<br>
<br>
In is an excellent proof of princple, but it is the opposite of what I<br>
am looking for.<br>
<br>
In your script the call to the external server is instigated from the<br>
LSL script and the waiting remote server responds accordingly.<br>
<br>
What I am looking for is the opposite i.e. Where the call is<br>
instigated by the remote server and the waiting LSL script responds<br>
accordingly.<br>
<br>
Any examples welcomed...<br>
<br>
Thanks<br>
<br>
Clive<br>
<br>
On Sun, Nov 1, 2009 at 6:42 PM, Clive Gould <<a href="mailto:cliveg@gmail.com">cliveg@gmail.com</a>> wrote:<br>
> Maybe this can be a solution to you. It's a comm OpenSim->HTTP server:<br>
><br>
> string NAME = ""; // name to look up - optional<br>
><br>
> key reqid; // http request id<br>
><br>
> default {<br>
> touch_start(integer total_number){<br>
> llSay(0,"type a word on chat");<br>
> llListen(0,"","","");<br>
><br>
> }<br>
> listen(integer channel,string name, key id,string message){<br>
> llSay(0,"the word: "+message + " will go to the server.");<br>
><br>
> string URL = "<a href="http://www.dmu.com/croquet/echo.aspx?thename=" target="_blank">http://www.dmu.com/croquet/echo.aspx?thename=</a>"+message;<br>
> reqid = llHTTPRequest( URL , [], "" );<br>
> }<br>
><br>
> http_response(key id, integer status, list meta, string body) {<br>
> if ( id != reqid )<br>
> return;<br>
> if ( status == 499 )<br>
> llSay(0,"name2key request timed out");<br>
> else if ( status != 200 )<br>
> llSay(0,"the internet exploded!!");<br>
> else if ( (key)body == NULL_KEY )<br>
> llSay(0,"No key found for " + NAME);<br>
> else<br>
> llSay(0,NAME + "answer from the server: " + body );<br>
<div><div></div><div class="h5">> }<br>
> }<br>
><br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br>