bitburner-src/doc/source/netscript/basicfunctions/getPortHandle.rst

12 lines
356 B
ReStructuredText
Raw Normal View History

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`.