aMule Forum

English => aMule Help => Topic started by: hkk on January 10, 2007, 10:35:51 AM

Title: Proxytype variables
Post by: hkk on January 10, 2007, 10:35:51 AM
I have been searching the amule site and the forum, can't find what variables to use in proxytype= | amule.conf. Need to use socks4a.
Title: RE: Proxytype variables
Post by: hkk on January 13, 2007, 02:54:07 PM
found it! sorry for posting in the wrong forum
//Proxytypes deadlake
#define   PROXYTYPE_NOPROXY         0
#define   PROXYTYPE_SOCKS4         1
#define   PROXYTYPE_SOCKS4A         2
#define   PROXYTYPE_SOCKS5         3
#define   PROXYTYPE_HTTP11         4

http://www.koders.com/c/fidBFF7716F46CD1EA4AFBE99ECA7F131F163FEE67B.aspx?s=amule+proxytype
Title: RE: Proxytype variables
Post by: phoenix on January 22, 2007, 09:15:34 PM
hkk,

I don't know where did you get these from. Please, use a recent cvs tarball:
http://www.hirnriss.net/?area=cvs

PROXY_SOCKS5 is zero, PROXY_SOCKS4 is one, and so one... This is in src/Proxy.h:

Code: [Select]
//------------------------------------------------------------------------------
// CProxyType
//------------------------------------------------------------------------------

/*
 * These constants must match the integer values saved in the configuration file,
 * DO NOT CHANGE THIS ORDER!!!
 */
enum CProxyType {
        PROXY_NONE = -1,
        PROXY_SOCKS5,
        PROXY_SOCKS4,
        PROXY_HTTP,
        PROXY_SOCKS4a,
};