Remote Connection Manager Object allows you to connect to remote server, disconnect from remote server and enumerate active connections. It is exposed by the global object remote
and implements the IRemoteHost interface.
Use the IRemoteHost.connectServer method to establish a remote connection. Use the IRemoteHost.disconnectServer to close the remote connection and query the IRemoteHost.connections property for a list of existing connections.
Subscribe to IRemoteHost.connected or IRemoteHost.disconnected events to get notifications of connection and disconnection events.