The PortManager assigns and manages TCP/IP ports. This helps reduce the amount of configuration required by applications which communicate per TCP/IP.
With assignPort(name) a free port on the local host is searched and associated with this name. This method is called for example by a server application. With getPort(name) a client will receive the port of the application. With deassignPort(name) the server can deassign a port.
|