revXMLRPC_SetSocket | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | xml-rpc library | |||||||||
Summary | Sets the socket of an XML-RPC document. | |||||||||
Introduced | 2.5 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Command: post Function: revXMLRPC_GetSocket, revXMLRPC_CreateRequest Glossary: return, XML-RPC, Standalone Application Settings, socket, standalone application, function, command, LiveCode custom library, XML-RPC document Library: XML-RPC library | |||||||||
Security | disk, process | |||||||||
Description | 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.
| |||||||||
Tags | networking |