You should use INET_ATON('" + stripstring(self getip()) + "')"