aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Proxytype variables  (Read 1582 times)

hkk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Proxytype variables
« 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.
Logged

hkk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
RE: Proxytype variables
« Reply #1 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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
RE: Proxytype variables
« Reply #2 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,
};
Logged