Opens a socket on the selected port, and prepares it for sending and receiving messages.
First available in version 3.0 build 2039.
port - Port to open.
localAddress - [Optional] - Associate the socket with a specific local IP address. If not specified, then the system will pick an IP address for you. You really only need to worry about this parameter if you have a multihomed system or you have multiple IP addresses assigned to a single network interface.
No output parameters.
When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.
// listen on the default IP address (the ssystem will decide for you)
// only listen for packets at 10.0.0.99 (useful on a multi-homed system)>