def logout ( self ) : self . client . write ( 'exit\r\n' ) self . client . read_all ( ) self . client . close ( )
python network activity log on and log off
Logout from the remote server .
def logout(self):
        """
            Logout from the remote server.
        """
        self.client.write('exit\r\n')
        self.client.read_all()
        self.client.close()