Error getting tags :
error 404Error getting tags :
error 404 revXMLRPC_SetSocket | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revXMLRPC_SetSocket
Basics
Expander triangle
Type
Command
Syntax
revXMLRPC_SetSocket XML-RPC document,socket
Introduced
2.5
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Process
Summary
Sets the socket of an XML-RPC document.
Examples

revXMLRPC_SetSocket theRequest,myOpenSocket

Additional Comments
Expander triangle

Use the revXMLRPC_SetSocket function to set the network socket used in the execution of an XML-RPC request.

By default, XML-RPC uses the post command to execute an XML-RPC request, but this has the overhead of opening and closing a new socket every time. You can avoid this by re-using an already opened socket.

Parameters:

The documentID is the number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request.

Comments:

If the revXMLRPC_SetSocket command encounters an error, it returns an error message starting with "xmlrpcerr"..

Important! The revXMLRPC_SetSocketcommand is part of the XML-RPC library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section on the General screen of the Standalone Application Settings window, make sure "XML-RPC Library" is selected in the list of script libraries.

User Comments
Expander triangle