Implement EC Protocol

From AMule Project FAQ
Revision as of 09:52, 13 July 2008 by 82.67.125.160 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is a draft guide to help people implement EC Protocol with more details than EC_Procotol_HOWTO, will contain some needed algorithm, and some tags specifications

Tags Specs

CONNSTATE Tag

Value is UNINT8 bit flags, defined in amule.h around line 100 for amule 2.2.1

#define CONNECTED_ED2K (1<<0)
#define CONNECTED_KAD_NOT (1<<1)
#define CONNECTED_KAD_OK (1<<2)
#define CONNECTED_KAD_FIREWALLED (1<<3)