public LocalRMIServerSocketFactory(InetAddress localAddr)
Create a new local RMI Server Socket Factory on specified local IP
address. Use this constructor when you know the local loopback IP
address and do not want to handle UnknownHostException thrown by default
constructor.
Create a new socket that listens to specified port on local loopback
address. The method comes from the interface
java.rmi.server.RMIClientSocketFactory
param
port port to listen to
throws
IOException if an IO error occurs while creating the socket
return
a Socket listening to specified port on local loopback address
return new ServerSocket(port, 0, localLoopbackAddress);