Difference between revisions of "Implement EC Protocol"

From AMule Project FAQ
Jump to: navigation, search
(No difference)

Revision as of 10:52, 13 July 2008

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)