def connect(self, ip, port):
        """
        In UDP connect is not really meaningfull. In this
        case it just means register an handler for the connection
        in the UDP layer
        """
        if not re.match(self.ipregex, ip): #Then this is a dn
            realip = transversal_layer_access["DNS"].nslookup(ip)
            if realip:
                self.remoteIP = realip
            else:
                raise Exception("[Errno -5] No address associated with hostname")
        else:
            self.remoteIP = ip