Public Member Functions | |
Audio_PureData_NetReceive ($host, $receive_port, $send_port) | |
setNetReceive ($host, $port, $type= 'sequential') | |
setNetSend ($host, $port, $udp=FALSE) | |
setVerbose ($mode) | |
start () | |
stop () | |
send ($msg) | |
error ($msg) | |
& | getServerHandler () |
& | getNetSend () |
addSelector ($selector, &$callback) | |
setSingleHandler (&$callback) | |
Public Attributes | |
$_verbose = FALSE | |
$_netsend | |
$_server_handler | |
$_server |
|
Creates the TCP server and server handler. This receives the data from PD.
|
|
|
|
Displays an error to the PD console.
|
|
Returns the NetSend object. Needed to send data to PHP
|
|
Returns the Server Handler Needed to add callback selectors
|
|
Send a message to the outlet of the [phpext] PD object. The argument can be an array or a string. It will be converted to a PD list or atom.
|
|
Creates the TCP server and server handler. This receives the data from PD.
|
|
Creates the TCP client socket. This sends the data to PD.
|
|
|
|
|
|
Starts the server and client. You can now use your [phpext] PD object.
|
|
Stops the server and client. Ends this script. |