This class creates server sockets. It may be subclassed by other factories, which create particular types of server sockets. This provides a general framework for the addition of public socket-level functionality. It it is the server side analogue of a socket factory, and similarly provides a way to capture a variety of policies related to the sockets being constructed. Like socket factories, Server Socket factory instances have methods used to create sockets.
Constructor is used only by subclasses.
Returns a server socket which uses all network interfaces on the host, and is bound to the specified port. Methods inherited from class java.lang. Constructor is used only by subclasses.