def connect(self):
self.con = socket.socket(socket.AF_INET, socket.SOCK_STREAM)<EOL>self.con.connect((self.ip, self.port))<EOL>log.debug('<STR_LIT>',<EOL>self.ip, self.port)<EOL>
Connect sets up the connection with the Horizon box.