Maybe this can be a solution to you. It's a comm OpenSim->HTTP server: <div><br></div><div><div>string NAME = ""; // name to look up - optional</div><div> </div><div>key reqid; // http request id</div>
<div><br></div><div>default {</div><div> touch_start(integer total_number){</div><div> llSay(0,"type a word on chat");</div><div> llListen(0,"","","");</div><div> </div>
<div> }</div><div> listen(integer channel,string name, key id,string message){</div><div> llSay(0,"the word: "+message + " will go to the server.");</div><div><br></div><div> string URL = "<a href="http://www.dmu.com/croquet/echo.aspx?thename=">http://www.dmu.com/croquet/echo.aspx?thename=</a>"+message;</div>
<div> reqid = llHTTPRequest( URL , [], "" );</div><div>}</div><div><br></div><div> http_response(key id, integer status, list meta, string body) {</div><div> if ( id != reqid )</div><div> return;</div>
<div> if ( status == 499 )</div><div> llSay(0,"name2key request timed out");</div><div> else if ( status != 200 )</div><div> llSay(0,"the internet exploded!!");</div>
<div> else if ( (key)body == NULL_KEY )</div><div> llSay(0,"No key found for " + NAME);</div><div> else</div><div> llSay(0,NAME + "answer from the server: " + body );</div>
<div> }</div><div>}</div></div>