nCreates a server socket on a specified port.
nA port of 0 creates a socket on any free
port. You can use getLocalPort() to identify the (assigned) port on which
this socket is
listening.
nThe maximum queue length for incoming
connection indications (a
request to connect) is set to 50. If a connection indication arrives when the queue is full,
the connection is refused.
nThrows:
nIOException - if an I/O error occurs when opening the socket.
nSecurityException - if a security manager exists and its checkListen method doesn't allow the
operation.
n