ControlConnection.cpp File Reference

#include "ControlConnection.h"
#include "ControlCommand.h"
#include <QStringList>
#include <QTcpSocket>
#include "tcglobal.h"
#include <QObject>
#include <QMultiHash>
#include <QList>
#include <QFlags>
#include <QEvent>
#include <QMutex>
#include <QWaitCondition>
#include <QThread>
#include <QQueue>
#include <QTimer>
#include <QHostAddress>
#include "stringutil.h"
#include <QCoreApplication>
#include <QMutexLocker>

Go to the source code of this file.

Defines

#define MAX_CONNECT_ATTEMPTS   5
#define CONNECT_RETRY_DELAY   2*1000

Define Documentation

#define CONNECT_RETRY_DELAY   2*1000

Time to wait between control connection attempts (in milliseconds).

Definition at line 28 of file ControlConnection.cpp.

Referenced by ControlConnection::onError().

#define MAX_CONNECT_ATTEMPTS   5

Maximum number of times we'll try to connect to Tor before giving up.

Definition at line 26 of file ControlConnection.cpp.

Referenced by ControlConnection::connect(), and ControlConnection::onError().

Generated on Mon Aug 30 22:58:55 2010 for Vidalia by  doxygen 1.6.3