Go to documentation repository
Page History
...
Connect(BSTR ip, BSTR login, BSTR password, BSTR arch_password, long param, long param) set up a connection to the Server.
- BSTR ip – IP address of the Video server;
- BSTR login – login to connect to the Server (can be blank);
- BSTR password – password to set up a connection to the Video server (can be blank);
BSTR arch_password – password to access the archive (i.e. admin password, can be blank);
- long param – Server role:
- 0 – video server;
- 1 – backup archive;
2 – videogate;
- long port – port to connect Video server. Default value is 20900.
if 0, 1 or 2 are passed, the connection is established with port 900, 901 or 902 correspondingly;
if 100 is passed, the connection is with port 10504;
if any onter value passed, the connection is with port number "port + 20000". For example, if port=123, the connection is established with server port 20123.
The connection to Server is set up asynchronously.
...
Overview
Content Tools