Home > bitburner > Singularity > connect
SF4.1 - Connect to a server.
Signature:
connect(hostname: string): boolean;
Parameter | Type | Description |
---|---|---|
hostname | string |
Returns:
boolean
True if the connect command was successful, false otherwise.
RAM cost: 2 GB
Run the connect HOSTNAME command in the terminal. Can only connect to neighbors.