torsocket.cpp File Reference

A QTcpSocket that makes requests over Tor. More...

#include <QDataStream>
#include "torsocket.h"

Go to the source code of this file.

Defines

#define SOCKS_VERSION   0x04
#define SOCKS_CONNECT   0x01
#define SOCKS_FAKE_IP   0x00000001
#define SOCKS_RESPONSE_LEN   0x08
#define SOCKS_RESPONSE_VERSION   0x00
#define SOCKS_CONNECT_STATUS_OK   0x5A
#define LOCAL_CONNECT_TIMEOUT   3000


Detailed Description

A QTcpSocket that makes requests over Tor.

Version:
Id
torsocket.cpp 1238 2006-09-25 17:50:57Z edmanm

Definition in file torsocket.cpp.


Define Documentation

#define LOCAL_CONNECT_TIMEOUT   3000

Time to wait for a connection to the local SOCKS proxy.

Definition at line 38 of file torsocket.cpp.

Referenced by TorSocket::connectToHost().

#define SOCKS_CONNECT   0x01

SOCKS connect command ID.

Definition at line 33 of file torsocket.cpp.

Referenced by TorSocket::sendSocksHandshake().

#define SOCKS_CONNECT_STATUS_OK   0x5A

SOCKS server response status.

Definition at line 37 of file torsocket.cpp.

Referenced by TorSocket::onHandshakeResponse().

#define SOCKS_FAKE_IP   0x00000001

Bogus IP.

Definition at line 34 of file torsocket.cpp.

Referenced by TorSocket::sendSocksHandshake().

#define SOCKS_RESPONSE_LEN   0x08

SOCKS server response length.

Definition at line 35 of file torsocket.cpp.

Referenced by TorSocket::onHandshakeResponse().

#define SOCKS_RESPONSE_VERSION   0x00

SOCKS server response version.

Definition at line 36 of file torsocket.cpp.

Referenced by TorSocket::onHandshakeResponse().

#define SOCKS_VERSION   0x04

SOCKS version.

Definition at line 32 of file torsocket.cpp.

Referenced by TorSocket::sendSocksHandshake().


Generated on Mon Oct 23 20:08:16 2006 for Vidalia by  doxygen 1.5.0