Clarifying that netscript ports are across servers (#268)

This commit is contained in:
Aditya Hegde 2023-02-28 17:29:37 +05:30 committed by GitHub
parent ee3c412933
commit 2f4c29fdf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@ Netscript Miscellaneous
Netscript Ports Netscript Ports
--------------- ---------------
Netscript Ports are endpoints that can be used to communicate between scripts. Netscript Ports are endpoints that can be used to communicate between scripts and across servers.
A port is implemented as a sort of serialized queue, where you can only write A port is implemented as a sort of serialized queue, where you can only write
and read one element at a time from the port. Only string and number types may be written to ports. When you read data from a port, and read one element at a time from the port. Only string and number types may be written to ports. When you read data from a port,
the element that is read is removed from the port. the element that is read is removed from the port.