Difference between revisions of "Implement EC Protocol"

From AMule Project FAQ
Jump to: navigation, search
 
m (Typo fixed in title)
 
Line 1: Line 1:
''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''
+
''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 ==
 
== Tags Specs ==
 
=== CONNSTATE Tag ===
 
=== CONNSTATE Tag ===

Latest revision as of 13:46, 16 October 2012

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)