Add support for SOCKS5 proxy protocol

This commit is contained in:
Davide Beatrici committed 2018-10-30 15:11:16 +01:00
1 parent 919cb2ae75
commit 53e0a2e5e2
16 files changed
+791 -147

No files matched your search

+2 -1
View File
@@ -391,7 +391,8 @@
// Type of proxy
#define PROXY_DIRECT 0 // Direct TCP connection
#define PROXY_HTTP 1 // Connection via HTTP proxy server
#define PROXY_SOCKS 2 // Connection via SOCKS proxy server
#define PROXY_SOCKS 2 // Connection via SOCKS4 proxy server
#define PROXY_SOCKS5 3 // Connection via SOCKS5 proxy server
// Direction of data flow
#define TCP_BOTH 0 // Bi-directional