ARS2.x Usage
ars_NTRegisterServer(serverHost, user, password)
Register with a notification server to receive notifications (2.x only).
You shouldn't use this routine. Instead, run an ntclientd
process and use ars_NTRegisterClient
.
- On success
-
1 (True)
- On failure
-
0 (False)
Example:
ars_NTRegisterServer("foo.bar.com", "joe", "yadda") ||
die "ars_NTRegisterServer: $ars_errstr";
ARS3.x Usage
ars_NTRegisterServer(serverHost, user, password, clientPort, clientCommunication, protocol, multipleClients)
Register with a notification server to receive notifications (3.x only).
Parameters:
- clientCommunication
-
Specify 2 for Socket Communications.
2 is the default.
- clientPort
-
Specify a valid TCP/IP port number.
- protocol
-
Specify 1 for TCP/IP.
1 is the default.
- multipleClients
-
Specify 1 (True) for Unix, 0 (False) otherwise.
1 is the default.
See ARS3.0 Programmer's Guide for specifics of this routine.
- On success
-
1 (True)
- On failure
-
0 (False)
Example:
ars_NTRegisterServer("foo.bar.com", "joe", "yadda", 1234, 2, 1, 1) ||
die "ars_NTRegisterServer: $ars_errstr";
Back to Table of Contents