'Return an L{IPv4Address} or L{IPv6Address} indicating the listening
address of this port.'

def getHost(self):

    (host, port) = self.socket.getsockname()[:2]
    return self._addressType('TCP', host, port)
