All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

SendCommand

Component: RPC
Mac OS X: Works
Windows: Works

MBS( "SendCommand"; Host; Port; list of Parameters )

Parameters

Parameter Description Example value
Host IP or domain name of the target computer. 127.0.0.1
Port Port number to use. 9999

Result

Returns function result or an error message.

Description

Connects to a TCP Socket on some computer in the network and sends a data packet with the given parameters.
The result is parsed and a string returned as function result. Note that all plugin error messages start with "[MBS]".
See the examples for a sample project and a detailed Readme on the data format.

Examples

MBS("SendCommand"; "127.0.0.1"; 9999; "SQLSelect"; "SELECT * FROM testTable")

Feedback: Report problem or ask question.