def open(self, timeout=None, authenticate=1): """Overloaded to provide the global timeout.""" if timeout is None: timeout = self.timeout ClientServerSocket.open(self, timeout=timeout, authenticate=authenticate)
def open(self, timeout=None, authenticate=1, **kwargs): """Clears the authentication information before opening the connection.""" self.authMsgSent = 0 self.authenticated = 0 if timeout is None: timeout = self.timeout ClientServerSocket.open(self, timeout=timeout, authenticate=authenticate, **kwargs)