'Return the IP address of the client who submitted this request.
@returns: the client IP address
@rtype: C{str}'

def getClientIP(self):

    if isinstance(self.client, address.IPv4Address):
        return self.client.host
    else:
        return None
