'Return the local address of the UDP connection
@returns: the local address of the UDP connection
@rtype: L{IPv4Address} or L{IPv6Address}'

def getHost(self):

    addr = self.socket.getsockname()
    if (self.addressFamily == socket.AF_INET):
        return address.IPv4Address('UDP', *addr)
    elif (self.addressFamily == socket.AF_INET6):
        return address.IPv6Address('UDP', *addr[:2])
