getPortHandle() Netscript Function¶
-
getPortHandle
(port)¶ Arguments: - port (number) – Port number
RAM cost: 10 GB
Get a handle to a Netscript Port. See more details here: Netscript Ports
WARNING: Port Handles only work in NetscriptJS (Netscript 2.0). They will not work in Netscript 1.0.