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

12 lines
332 B
ReStructuredText
Raw Normal View History

getPortHandle() Netscript Function
==================================
.. js:function:: getPortHandle(port)
:RAM cost: 10 GB
2021-03-12 08:51:56 +01:00
: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`.