'Return the port number to connect to, using C{self._port} set up by
C{listen} if available.
@return: The port number to connect to.
@rtype: C{int}'

@property
def port(self):

    if (self._port is not None):
        return self._port.getHost().port
    return findFreePort(self.interface, self.family)[1]
