mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
663 B
663 B
Home > bitburner > Singularity > connect
Singularity.connect() method
Connect to a server.
Signature:
connect(hostname: string): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| hostname | string |
Returns:
boolean
True if the connect command was successful, false otherwise.
Remarks
RAM cost: 2 GB * 16/4/1
Run the connect HOSTNAME command in the terminal. Can only connect to neighbors.