ars_GetCurrentServer(ctrl)

Given a control record, returns the server name that is specified in the record.
On success
Returns a scalar.
On failure
Returns undef.

Example:

	if($ctrl = ars_Login("", $username, $password)) {
	    $cs = ars_GetCurrentServer($ctrl);
	    print "current server: $cs\n";
	} else {
	    print "login failed: $ars_errstr\n";
	    exit(0);
	}

      

<-- Back to Table of Contents