ph_ssrequest PowerHome formula function
Description
This function makes properly formatted requests to a PowerHome Socket Server (Another instance of PowerHome or the Distributed Control Client).
Syntax
ph_ssrequest ( s, n, s, s, s, s )
Argument |
Description |
s
|
The IP or DNS equivalent of the Socket Server.
|
n
|
The port of the Socket Server
|
s
|
The userid of the Socket Server
|
s
|
The password for the Socket Server
|
s
|
The Socket Server request type. (The DCC only supports the "FORMULA" request type)
|
s
|
The actual data to pass to the Socket Server.
|
Return value
String. Returns the value returned from the remote Socket Server.