mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-23 14:42:28 +01:00
12 lines
332 B
ReStructuredText
12 lines
332 B
ReStructuredText
getPortHandle() Netscript Function
|
|
==================================
|
|
|
|
.. js:function:: getPortHandle(port)
|
|
|
|
:RAM cost: 10 GB
|
|
|
|
:param number port: Port number
|
|
:returns: portHandle object. See :ref:`netscript_ports`
|
|
|
|
**WARNING:** Port Handles only work in :ref:`netscriptjs`. They will not work in :ref:`netscript1`.
|