#include "TorSocket.h"
#include <QTcpSocket>
#include <QHostAddress>
#include <QDataStream>
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 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().