This procedure establishes a socket on the given port to listen for IP connections. If the port is a number, then connections to any IP address on the local machine will be accepted. Otherwise, only connections to the IP address and port specified in the <inet-socket-addr> will be accepted.
The listen queue is set to 3.
Note: If threads are being used, the function is preferred.