Vidalia  0.2.15
Defines
ControlConnection.cpp File Reference
#include "ControlConnection.h"
#include "tcglobal.h"
#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 27 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 25 of file ControlConnection.cpp.

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