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

put revXMLRPC_GetSocket(theRequest) into theSocket

Additional Comments
Expander triangle

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

Parameters:

The documentID is the number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

Value:

The revXMLRPC_GetProtocol function returns the socket connection that is established with the host. 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.

Comments:

If the revXMLRPC_GetSocket function encounters an error, it returns an error message starting with "xmlrpcerr"..

Important! The revXMLRPC_GetSocketfunction is part of the XML-RPC library. To ensure that the function 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