Implement EC Protocol

From AMule Project FAQ
Revision as of 14:46, 16 October 2012 by GonoszTopi (Talk | contribs)

(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_Protocol_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)