connect (
Mongo.db
 
m
, 
string
 
addr
, 
int
 
port)
Connect to the MongoDB server on host:port.
Close any existing connection.
We should really check if we are master but that would get complicated
since this routine gets called from within reconnect.
The caller should verify the master status.
Example:
connect(m,addr,port)
m
A Mongo.db value, initialised by init.
addr
Address of the MongoDB server.
port
Port number for the MongoDB server.

Comments

The browser you use is not supported by this application, probably because it lacks some critical features.
For a better experience, please consider using this application with a supported browser.