User:Fred Rookstown/llRequestDatashare - Second Life Wiki

User:Fred Rookstown/llRequestDatashare

From Second Life Wiki

Second Life Wiki > Fred Rookstown/llRequestDatashare
Jump to: navigation, search
Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Summary

Function: integer llRequestDatashare( key agent, string service_id, integer service_revision_req );

Attempts to open a datashare channel on the specified agent for the specified service, if available.
Returns an integer datashare resource pointer

• key agent Key of target agent
• string service_id Name of service to connect to
• integer service_revision_req Ensures that the service is at least this version before allowing the datashare to open.

Examples

integer datashare; // Datashare pointer
default
{
    state_entry()
    {
        // Open a datashare with no service version check.
        datashare=llRequestDatashare(llGetOwner(),"Some Service",0);
    }
}

Deep Notes

Search JIRA for related Issues