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 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. IOException Returns a server socket which uses all network interfaces on the host, is bound to a the specified port, and uses the specified connection backlog. IOException Returns a server socket which uses only the specified network interface on the local host, is bound to a the specified port, and uses the specified connection backlog.