torsocket.cpp File Reference

#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 Documentation

#define SOCKS_CONNECT   0x01

SOCKS connect command ID.

Definition at line 22 of file torsocket.cpp.

Referenced by TorSslSocket::sendSocksHandshake(), and TorSocket::sendSocksHandshake().

#define SOCKS_CONNECT_STATUS_OK   0x5A

SOCKS server response status.

Definition at line 26 of file torsocket.cpp.

Referenced by TorSslSocket::onHandshakeResponse(), and TorSocket::onHandshakeResponse().

#define SOCKS_FAKE_IP   0x00000001

Bogus IP.

Definition at line 23 of file torsocket.cpp.

Referenced by TorSslSocket::sendSocksHandshake(), and TorSocket::sendSocksHandshake().

#define SOCKS_RESPONSE_LEN   0x08

SOCKS server response length.

Definition at line 24 of file torsocket.cpp.

Referenced by TorSslSocket::onHandshakeResponse(), and TorSocket::onHandshakeResponse().

#define SOCKS_RESPONSE_VERSION   0x00

SOCKS server response version.

Definition at line 25 of file torsocket.cpp.

Referenced by TorSslSocket::onHandshakeResponse(), and TorSocket::onHandshakeResponse().

#define SOCKS_VERSION   0x04

SOCKS version.

Definition at line 21 of file torsocket.cpp.

Referenced by TorSslSocket::sendSocksHandshake(), and TorSocket::sendSocksHandshake().


Generated on 2 Sep 2009 for Vidalia by  doxygen 1.6.1