Listen on port
This will create and open a socket listening on the given port (0-65535) bound to either only your local network, or if 'Allow external connections' is selected, to all network interfaces allowing for remote access outside of your network.
tip
In order to connect to it externally you many need to port forward and/or add a firewall rule.
note
You need to call this before trying to read a message from the port.
Parameters
- Port (number)
- Allow external connections (true or false)