controlconnection.cpp File Reference

#include <QCoreApplication>
#include <QMutexLocker>
#include <stringutil.h>
#include "tcglobal.h"
#include "controlconnection.h"

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 Sat Aug 16 17:31:48 2008 for Vidalia by  doxygen 1.5.6