This constructor method creates an instance that listens on
the specified
portNumber on the specified address. The
InetAddress will
be passed to
ServerSocket. NULL is an invalid address value.
The following examples show how you might allow Network Server to accept
connections from other hosts:
//accepts connections from other hosts on an IPv4 system
NetworkServerControl serverControl =
new NetworkServerControl(InetAddress.getByName("0.0.0.0"),1527);
//accepts connections from other hosts on an IPV6 system
NetworkServerControl serverControl =
new NetworkServerControl(InetAddress.getByName("::"),1527);