revXMLRPC_SetPort

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_SetPort <XMLRPCdocumentID>, <RPCport>
Associationsxml-rpc library
Summary

Sets the port of an XML-RPC document structure.

Introduced2.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
XMLRPCdocumentID

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

RPCport

The port number you want to connect to. If you don't specify a port, port 80 is used. (On most systems, port 80 is used for HTTP connections.)

Values
NameTypeDescription
The result

If the revXMLRPC_SetPort command encounters an error, the result is set to an error message beginning with "xmlrpcerr".

RelatedCommand: revXMLRPC_SetHost
Function: revXMLRPC_GetPort, result, revXMLRPC_CreateRequest
Glossary: LiveCode custom library, XML-RPC document, Standalone Application Settings, standalone application, command, XML-RPC
Library: XML-RPC library
Securitydisk, process
Description

Use the revXMLRPC_SetPort command to set the port that is the target of the execution of an XML-RPC request.

Tagsnetworking