Show
Ignore:
Timestamp:
01/13/06 23:32:35 (3 years ago)
Author:
edmanm
Message:

Use QAbstractSocket's isValid() method to determine if the control socket is
connected;
Check if the socket is ready for reading and writing before sending or
receiving;
Update the control test code for the method names I changed back in revision
75;
The authenticate() method in TorControl? will handle loading controller
authentication tokens itself, once it's implemented. (maybe)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/control/torcontrol.h

    r83 r84  
    7070 
    7171  /** Sends an authentication token to Tor */ 
    72   bool authenticate(QByteArray token, QString *errmsg = 0); 
     72  bool authenticate(QString *errmsg = 0); 
    7373 
    7474  /** Sends a GETINFO message to Tor based on the given keys */