help | logout
connect

connect

Name

connect -- Gets current data from an RSPD.

Synopsis

$err = $node->connect();

Description

Connects to the given RSPD and retrieves its data. To actually look at the data which was retrieved, use the nextServerModule() function (described later).

Returns

Returns -1 if an error occurred, or 0 otherwise. In case of error, the program will croak() with an appriopriate message.