mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
12 lines
356 B
ReStructuredText
12 lines
356 B
ReStructuredText
getPortHandle() Netscript Function
|
|
==================================
|
|
|
|
.. js:function:: getPortHandle(port)
|
|
|
|
:param number port: Port number
|
|
:RAM cost: 10 GB
|
|
|
|
Get a handle to a Netscript Port. See more details here: :ref:`netscript_ports`
|
|
|
|
**WARNING:** Port Handles only work in :ref:`netscriptjs`. They will not work in :ref:`netscript1`.
|