revXMLRPC_GetPort

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_GetPort(<XMLRPCdocumentID>)
Associationsxml-rpc library
Summary

This function returns the target port of an XML-RPC document.

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, or the successful revXMLRPC_Execute function when you executed an XML-RPC request.

Example
local tPort
put revXMLRPC_GetPort(tRequest) into tPort
Values
NameTypeDescription
return

The revXMLRPC_GetPort function returns the port number of the host that is the target of the XML-RPC document.

RelatedControl Structure: function
Command: revXMLRPC_SetPort
Function: revXMLRPC_CreateRequest, revXMLRPC_Execute
Library: XML-RPC library
Glossary: return, host, XML-RPC, Standalone Application Settings, XML-RPC document, standalone application, port, function, LiveCode custom library
Securitydisk, process
Description

Use the revXMLRPC_GetPort function to retrieve the port that is the target of the execution of an XML-RPC request.

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

Tagsnetworking